setup.py
This file
Path
setup.py
53 lines · 1.4 KiB · Python
Last changed by
home page url changeKenneth Reitzbefore adoption8ffb246
History of this fileTake it
The walk stopped after 200 commits: lines older than b72e1d1 point at it.
AuthAuthsKenneth Reitzbefore adoptionb72e1d1
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 requestsAuthAuthsKenneth Reitzbefore adoptionb72e1d1
lines 7–10why, one step back78from distutils.core import setup910Merge branch 'release/0.3.2' into developKenneth Reitzbefore adoptionea86602
line 11why, one step back11AuthAuthsKenneth Reitzbefore adoptionb72e1d1
line 12why, one step back12if sys.argv[-1] == "publish":Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 13–14why, one step back13 os.system("python setup.py sdist upload")14 sys.exit()AuthAuthsKenneth Reitzbefore adoptionb72e1d1
line 15why, one step back15Merge branch 'release/0.2.1'Kenneth Reitzbefore adoptione09efc4
line 16why, one step back16if sys.argv[-1] == "test":Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 17–18why, one step back17 os.system("python test_requests.py")18 sys.exit()Merge branch 'release/0.3.2' into developKenneth Reitzbefore adoptionea86602
line 19why, one step back19AuthAuthsKenneth Reitzbefore adoptionb72e1d1
lines 20–21why, one step back20required = []21Merge branch 'release/0.3.2' into developKenneth Reitzbefore adoptionea86602
lines 22–23why, one step back22if sys.version_info[:2] < (2,6):23 required.append('simplejson')AuthAuthsKenneth Reitzbefore adoptionb72e1d1
lines 24–25why, one step back2425setup(Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
line 26why, one step back26 name='requests',Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa
line 27why, one step back27 version=requests.__version__,Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 28–32why, one step back28 description='Awesome Python HTTP Library that\'s actually usable.',29 long_description=open('README.rst').read() + '\n\n' +30 open('HISTORY.rst').read(),31 author='Kenneth Reitz',32 author_email='me@kennethreitz.com',home page url changeKenneth Reitzbefore adoption8ffb246
line 33why, one step back33 url='http://python-requests.org',Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 34–41why, one step back34 packages= [35 'requests',36 'requests.packages',37 'requests.packages.poster'38 ],39 install_requires=required,40 license='ISC',41 classifiers=(Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa
line 42why, one step back42 'Development Status :: 5 - Production/Stable',Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 43–46why, one step back43 'Intended Audience :: Developers',44 'Natural Language :: English',45 'License :: OSI Approved :: ISC License (ISCL)',46 'Programming Language :: Python',Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa
line 47why, one step back47 'Programming Language :: Python :: 2.5',AuthAuthsKenneth Reitzbefore adoptionb72e1d1
line 48why, one step back48 'Programming Language :: Python :: 2.6',Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f
lines 49–52why, one step back49 'Programming Language :: Python :: 2.7',50 # 'Programming Language :: Python :: 3.0',51 # 'Programming Language :: Python :: 3.1',52 ),AuthAuthsKenneth Reitzbefore adoptionb72e1d1
line 53why, one step back53)