Skip to content
Myr

setup.py

This file

Path

setup.py

58 lines · 1.6 KiB · Python

Last changed by

Merge remote-tracking branch 'origin/master'Kenneth Reitzbefore adoption7e47d5e

History of this file

Take it

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

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

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',

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

lines 21–22why, one step back
21 'requests.packages.urllib3',
22 'requests.packages.urllib3.packages',

oauthlibKenneth Reitzbefore adoption9576518

line 23why, one step back
23 'requests.packages.urllib3.packages.ssl_match_hostname'

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

lines 24–25why, one step back
24]
25

new vendored libsKenneth Reitzbefore adoption35f6671

line 26why, one step back
26requires = []

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

lines 27–37why, one step back
27
28setup(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,

new vendored libsKenneth Reitzbefore adoption35f6671

lines 38–39why, one step back
38 package_data={'': ['LICENSE', 'NOTICE'], 'requests': ['*.pem']},
39 package_dir={'requests': 'requests'},

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

lines 40–41why, one step back
40 include_package_data=True,
41 install_requires=requires,

v0.13.2Kenneth Reitzbefore adoptionfb2ce4f

line 42why, one step back
42 license=open('LICENSE').read(),

Merge remote-tracking branch 'origin/develop' into developKenneth Reitzbefore adoption59dea18

line 43why, one step back
43 zip_safe=False,

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

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',

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

lines 49–54why, one step back
49 'Programming Language :: Python',
50 'Programming Language :: Python :: 2.6',51 'Programming Language :: Python :: 2.7',52 'Programming Language :: Python :: 3',53 'Programming Language :: Python :: 3.0',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',

In fact, the feature is so awesome that it should go into index.rstDanilo Bargenbefore adoptionf968fe0

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