setup.py
This file
Path
setup.py
59 lines · 1.7 KiB · Python
Last changed by
Merge remote-tracking branch 'origin/master'Kenneth Reitzbefore adoption636476e
History of this fileTake it
The walk stopped after 200 commits: lines older than bf05b7a point at it.
v1.0.0Kenneth Reitzbefore adoptionbf05b7a
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',v1.0.0Kenneth Reitzbefore adoptionbf05b7a
lines 21–41why, one step back21 'requests.packages.urllib3',22 'requests.packages.urllib3.packages',23 'requests.packages.urllib3.packages.ssl_match_hostname'24]2526requires = []2728setup(29 name='requests',30 version=requests.__version__,31 description='Python HTTP for Humans.',32 long_description=open('README.rst').read() + '\n\n' +33 open('HISTORY.rst').read(),34 author='Kenneth Reitz',35 author_email='me@kennethreitz.com',36 url='http://python-requests.org',37 packages=packages,38 package_data={'': ['LICENSE', 'NOTICE'], 'requests': ['*.pem']},39 package_dir={'requests': 'requests'},40 include_package_data=True,41 install_requires=requires,Merge remote-tracking branch 'origin/master'Kenneth Reitzbefore adoption636476e
line 42why, one step back42 setup_requires=['sphinx'],v1.0.0Kenneth Reitzbefore adoptionbf05b7a
lines 43–53why, one step back43 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',no 3.0Kenneth Reitzbefore adoption88b5ebc
line 54why, one step back54 # 'Programming Language :: Python :: 3.0',v1.0.0Kenneth Reitzbefore adoptionbf05b7a
lines 55–59why, one step back55 'Programming Language :: Python :: 3.1',56 'Programming Language :: Python :: 3.2',57 'Programming Language :: Python :: 3.3',58 ),59)