Skip to content
Myr

setup.py

This file

Path

setup.py

58 lines · 1.6 KiB · Python

Last changed by

no 3.0Kenneth Reitzbefore adoption88b5ebc

History of this file

Take it

The walk stopped after 200 commits: lines older than 5fedbbf point at it.

oopsKenneth Reitzbefore adoption5fedbbf

lines 1–19why, one step back
1#!/usr/bin/env python
23import 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 back
20 'requests.packages.charade',

oopsKenneth Reitzbefore adoption5fedbbf

lines 21–42why, one step back
21 '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 back
43 zip_safe=False,

oopsKenneth Reitzbefore adoption5fedbbf

lines 44–47why, one step back
44 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 back
48 'License :: OSI Approved :: Apache Software License',

oopsKenneth Reitzbefore adoption5fedbbf

lines 49–52why, one step back
49 '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 back
53 # 'Programming Language :: Python :: 3.0',

oopsKenneth Reitzbefore adoption5fedbbf

line 54why, one step back
54 'Programming Language :: Python :: 3.1',

new classifiers for 3.2+Kenneth Reitzbefore adoption7c520ec

lines 55–56why, one step back
55 'Programming Language :: Python :: 3.2',
56 'Programming Language :: Python :: 3.3',

oopsKenneth Reitzbefore adoption5fedbbf

lines 57–58why, one step back
57 ),
58)