setup.py
This file
Path
setup.py
57 lines · 1.5 KiB · Python
Last changed by
nopeKenneth Reitzbefore adoption786fe94
History of this fileTake it
The walk stopped after 200 commits: lines older than 5d87e1a point at it.
Update LICENSEKenneth Reitzbefore adoption5d87e1a
lines 1–19why, one step back1#!/usr/bin/env python23import os4import sys56import requests78try:9 from setuptools import setup10except ImportError:11 from distutils.core import setup1213if sys.argv[-1] == 'publish':14 os.system('python setup.py sdist upload')15 sys.exit()1617packages = [18 'requests',19 'requests.packages',Merge pull request #1095 from Jud/patch-1Kenneth Reitzbefore adoptioncd0cbad
line 20why, one step back20 'requests.packages.charade',Update LICENSEKenneth Reitzbefore adoption5d87e1a
lines 21–22why, one step back21 'requests.packages.urllib3',22 'requests.packages.urllib3.packages',Merge remote-tracking branch 'origin/master'Kenneth Reitzbefore adoption7430a49
line 23why, one step back23 'requests.packages.urllib3.contrib',Update LICENSEKenneth Reitzbefore adoption5d87e1a
lines 24–54why, one step back24 'requests.packages.urllib3.packages.ssl_match_hostname'25]2627requires = []2829setup(30 name='requests',31 version=requests.__version__,32 description='Python HTTP for Humans.',33 long_description=open('README.rst').read() + '\n\n' +34 open('HISTORY.rst').read(),35 author='Kenneth Reitz',36 author_email='me@kennethreitz.com',37 url='http://python-requests.org',38 packages=packages,39 package_data={'': ['LICENSE', 'NOTICE'], 'requests': ['*.pem']},40 package_dir={'requests': 'requests'},41 include_package_data=True,42 install_requires=requires,43 license=open('LICENSE').read(),44 zip_safe=False,45 classifiers=(46 'Development Status :: 5 - Production/Stable',47 'Intended Audience :: Developers',48 'Natural Language :: English',49 'License :: OSI Approved :: Apache Software License',50 'Programming Language :: Python',51 'Programming Language :: Python :: 2.6',52 'Programming Language :: Python :: 2.7',53 'Programming Language :: Python :: 3',54 'Programming Language :: Python :: 3.3',Merge remote-tracking branch 'origin/master'Kenneth Reitzbefore adoption7430a49
line 55why, one step back55Update LICENSEKenneth Reitzbefore adoption5d87e1a
lines 56–57why, one step back56 ),57)