setup.py
This file
Path
setup.py
62 lines · 1.7 KiB · Python
Last changed by
oauthlibKenneth Reitzbefore adoption9576518
History of this fileTake it
The walk stopped after 200 commits: lines older than ec979dc point at it.
nose not found :(Kenneth Reitzbefore adoptionec979dc
lines 1–2why, one step back1#!/usr/bin/env python2Change setup.py to reflect required/optional dependenciesShivaram Lingamnenibefore adoptionbdd7f8f
lines 3–6why, one step back3"""4distutils/setuptools install script. See inline comments for packaging documentation.5"""6Merge pull request #572 from slingamn/chardet_2Kenneth Reitzbefore adoptiona3e5563
line 7why, one step back7import osnose not found :(Kenneth Reitzbefore adoptionec979dc
line 8why, one step back8import sysChange setup.py to reflect required/optional dependenciesShivaram Lingamnenibefore adoptionbdd7f8f
line 9why, one step back9nose not found :(Kenneth Reitzbefore adoptionec979dc
lines 10–13why, one step back10import requests1112try:13 from setuptools import setupMerge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 14–15why, one step back14 # hush pyflakes15 setupnose not found :(Kenneth Reitzbefore adoptionec979dc
lines 16–25why, one step back16except ImportError:17 from distutils.core import setup1819if sys.argv[-1] == 'publish':20 os.system('python setup.py sdist upload')21 sys.exit()2223packages = [24 'requests',25 'requests.packages',new vendored libsKenneth Reitzbefore adoption35f6671
lines 26–27why, one step back26 'requests.packages.chardet',27 'requests.packages.chardet2',nose not found :(Kenneth Reitzbefore adoptionec979dc
lines 28–29why, one step back28 'requests.packages.urllib3',29 'requests.packages.urllib3.packages',oauthlibKenneth Reitzbefore adoption9576518
line 30why, one step back30 'requests.packages.urllib3.packages.ssl_match_hostname'nose not found :(Kenneth Reitzbefore adoptionec979dc
lines 31–32why, one step back31]32new vendored libsKenneth Reitzbefore adoption35f6671
line 33why, one step back33requires = []oauthlibKenneth Reitzbefore adoption9324c2a
line 34why, one step back34nose not found :(Kenneth Reitzbefore adoptionec979dc
lines 35–44why, one step back35setup(36 name='requests',37 version=requests.__version__,38 description='Python HTTP for Humans.',39 long_description=open('README.rst').read() + '\n\n' +40 open('HISTORY.rst').read(),41 author='Kenneth Reitz',42 author_email='me@kennethreitz.com',43 url='http://python-requests.org',44 packages=packages,new vendored libsKenneth Reitzbefore adoption35f6671
lines 45–46why, one step back45 package_data={'': ['LICENSE', 'NOTICE'], 'requests': ['*.pem']},46 package_dir={'requests': 'requests'},nose not found :(Kenneth Reitzbefore adoptionec979dc
line 47why, one step back47 include_package_data=True,Change setup.py to reflect required/optional dependenciesShivaram Lingamnenibefore adoptionbdd7f8f
line 48why, one step back48 install_requires=requires,blahKenneth Reitzbefore adoptionbcbc1be
line 49why, one step back49 license=open("LICENSE").read(),nose not found :(Kenneth Reitzbefore adoptionec979dc
lines 50–62why, one step back50 classifiers=(51 'Development Status :: 5 - Production/Stable',52 'Intended Audience :: Developers',53 'Natural Language :: English',54 'License :: OSI Approved :: ISC License (ISCL)',55 'Programming Language :: Python',56 'Programming Language :: Python :: 2.6',57 'Programming Language :: Python :: 2.7',58 'Programming Language :: Python :: 3',59 'Programming Language :: Python :: 3.0',60 'Programming Language :: Python :: 3.1',61 ),62)