setup.py
This file
Path
setup.py
67 lines · 1.8 KiB · Python
Last changed by
only do oreos for 2Kenneth Reitzbefore adoptione695941
History of this fileTake it
The walk stopped after 200 commits: lines older than 2cc8015 point at it.
Readme update.Kenneth Reitzbefore adoption2cc8015
lines 1–5why, one step back1#!/usr/bin/env python2# -*- coding: utf-8 -*-34import os5import sysMerge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa
line 6why, one step back6import requestsonly do oreos for 2Kenneth Reitzbefore adoptione695941
line 7why, one step back7from requests.compat import is_py3, is_py2Readme update.Kenneth Reitzbefore adoption2cc8015
line 8why, one step back8Merge branch 'release/0.5.0'Kenneth Reitzbefore adoption2d98ca7
lines 9–12why, one step back9try:10 from setuptools import setup11except ImportError:12 from distutils.core import setupReadme update.Kenneth Reitzbefore adoption2cc8015
lines 13–14why, one step back1314Merge branch 'release/0.3.2'Kenneth Reitzbefore adoption642c667
line 15why, one step back15Merge branch 'develop'Kenneth Reitzbefore adoption8c1fd5d
lines 16–17why, one step back16if sys.argv[-1] == 'publish':17 os.system('python setup.py sdist upload')Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
line 18why, one step back18 sys.exit()Readme update.Kenneth Reitzbefore adoption2cc8015
line 19why, one step back19Merge branch 'develop'Kenneth Reitzbefore adoption8c1fd5d
lines 20–21why, one step back20if sys.argv[-1] == 'test':21 os.system('python test_requests.py')Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
line 22why, one step back22 sys.exit()Merge branch 'release/0.3.2'Kenneth Reitzbefore adoption642c667
line 23why, one step back23new certifiKenneth Reitzbefore adoption38c2532
line 24why, one step back24required = ['certifi>=0.0.7',]only do oreos for 2Kenneth Reitzbefore adoptione695941
lines 25–32why, one step back25packages = [26 'requests',27 'requests.packages',28 'requests.packages.urllib3',29 'requests.packages.urllib3.packages',30 'requests.packages.urllib3.packages.ssl_match_hostname',31 'requests.packages.urllib3.packages.mimetools_choose_boundary',32]Readme update.Kenneth Reitzbefore adoption2cc8015
line 33why, one step back33reqs fixesKenneth Reitzbefore adoption9fd2d07
lines 34–37why, one step back34if is_py3:35 required.append('chardet2')36else:37 required.append('chardet>=1.0.0')only do oreos for 2Kenneth Reitzbefore adoptione695941
line 38why, one step back38 packages.append('requests.packages.oreos')Readme update.Kenneth Reitzbefore adoption2cc8015
line 39why, one step back39reqs fixesKenneth Reitzbefore adoption9fd2d07
line 40why, one step back40Readme update.Kenneth Reitzbefore adoption2cc8015
line 41why, one step back41setup(Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
line 42why, one step back42 name='requests',Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa
line 43why, one step back43 version=requests.__version__,Merge branch 'release/0.5.1'Kenneth Reitzbefore adoption95ba6fc
line 44why, one step back44 description='Python HTTP for Humans.',Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 45–48why, one step back45 long_description=open('README.rst').read() + '\n\n' +46 open('HISTORY.rst').read(),47 author='Kenneth Reitz',48 author_email='me@kennethreitz.com',Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea
line 49why, one step back49 url='http://python-requests.org',only do oreos for 2Kenneth Reitzbefore adoptione695941
line 50why, one step back50 packages=packages,Merge branch 'develop'Kenneth Reitzbefore adoption8c1fd5d
lines 51–52why, one step back51 package_data={'': ['LICENSE', 'NOTICE']},52 include_package_data=True,Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 53–55why, one step back53 install_requires=required,54 license='ISC',55 classifiers=(Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa
line 56why, one step back56 'Development Status :: 5 - Production/Stable',Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 57–60why, one step back57 'Intended Audience :: Developers',58 'Natural Language :: English',59 'License :: OSI Approved :: ISC License (ISCL)',60 'Programming Language :: Python',Readme update.Kenneth Reitzbefore adoption2cc8015
line 61why, one step back61 'Programming Language :: Python :: 2.6',Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
line 62why, one step back62 'Programming Language :: Python :: 2.7',PYTHON 3Kenneth Reitzbefore adoption8493d83
line 63why, one step back63 'Programming Language :: Python :: 3',reqs fixesKenneth Reitzbefore adoption9fd2d07
lines 64–65why, one step back64 'Programming Language :: Python :: 3.0',65 'Programming Language :: Python :: 3.1',Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
line 66why, one step back66 ),Readme update.Kenneth Reitzbefore adoption2cc8015
line 67why, one step back67)