setup.py
This file
Path
setup.py
58 lines · 1.6 KiB · Python
Last changed by
no 3.0Kenneth Reitzbefore adoption88b5ebc
History of this fileTake it
The walk stopped after 200 commits: lines older than 82d343f point at it.
disable tricky testsKenneth Reitzbefore adoption82d343f
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 branch 'master' of github.com:kennethreitz/requestsKenneth Reitzbefore adoptiona5cb635
line 20why, one step back20 'requests.packages.charade',disable tricky testsKenneth Reitzbefore adoption82d343f
lines 21–42why, 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,42 license=open('LICENSE').read(),Merge remote-tracking branch 'origin/develop' into developKenneth Reitzbefore adoption59dea18
line 43why, one step back43 zip_safe=False,disable tricky testsKenneth Reitzbefore adoption82d343f
lines 44–47why, one step back44 classifiers=(45 'Development Status :: 5 - Production/Stable',46 'Intended Audience :: Developers',47 'Natural Language :: English',Merge remote-tracking branch 'origin/master'Kenneth Reitzbefore adoption7e47d5e
line 48why, one step back48 'License :: OSI Approved :: Apache Software License',disable tricky testsKenneth Reitzbefore adoption82d343f
lines 49–52why, one step back49 'Programming Language :: Python',50 'Programming Language :: Python :: 2.6',51 'Programming Language :: Python :: 2.7',52 'Programming Language :: Python :: 3',no 3.0Kenneth Reitzbefore adoption88b5ebc
line 53why, one step back53 # 'Programming Language :: Python :: 3.0',disable tricky testsKenneth Reitzbefore adoption82d343f
line 54why, one step back54 'Programming Language :: Python :: 3.1',new classifiers for 3.2+Kenneth Reitzbefore adoption7c520ec
lines 55–56why, one step back55 'Programming Language :: Python :: 3.2',56 'Programming Language :: Python :: 3.3',disable tricky testsKenneth Reitzbefore adoption82d343f
lines 57–58why, one step back57 ),58)