Skip to content
Myr

setup.py

This file

Path

setup.py

68 lines · 1.8 KiB · Python

Last changed by

Merge pull request #2203 from Lukasa/remove_certifiKenneth Reitzbefore adoption359659c

History of this file

Take it

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

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 1–7why, one step back
1#!/usr/bin/env python
23import os4import sys56import requests7

Merge pull request #2199 from mtorromeo/patch-1Kenneth Reitzbefore adoption0df32de

lines 8–9why, one step back
8from codecs import open
9

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 10–21why, one step back
10try:
11 from setuptools import setup12except ImportError:13 from distutils.core import setup1415if sys.argv[-1] == 'publish':16 os.system('python setup.py sdist upload')17 sys.exit()1819packages = [20 'requests',21 'requests.packages',

Merge branch 'master' into fix-pickling-adaptersKenneth Reitzbefore adoptiondf1c233

line 22why, one step back
22 'requests.packages.chardet',

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 23–25why, one step back
23 'requests.packages.urllib3',
24 'requests.packages.urllib3.packages',25 'requests.packages.urllib3.contrib',

Merge pull request #2026 from Lukasa/updateurllib3Kenneth Reitzbefore adoption02a76b7

lines 26–27why, one step back
26 'requests.packages.urllib3.util',
27 'requests.packages.urllib3.packages.ssl_match_hostname',

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 28–29why, one step back
28]
29

Merge pull request #2203 from Lukasa/remove_certifiKenneth Reitzbefore adoption359659c

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

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

line 31why, one step back
31

Merge pull request #2199 from mtorromeo/patch-1Kenneth Reitzbefore adoption0df32de

line 32why, one step back
32with open('README.rst', 'r', 'utf-8') as f:

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

line 33why, one step back
33 readme = f.read()

Merge pull request #2199 from mtorromeo/patch-1Kenneth Reitzbefore adoption0df32de

line 34why, one step back
34with open('HISTORY.rst', 'r', 'utf-8') as f:

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

lines 35–36why, one step back
35 history = f.read()
36

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 37–40why, one step back
37setup(
38 name='requests',39 version=requests.__version__,40 description='Python HTTP for Humans.',

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

line 41why, one step back
41 long_description=readme + '\n\n' + history,

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 42–49why, one step back
42 author='Kenneth Reitz',
43 author_email='me@kennethreitz.com',44 url='http://python-requests.org',45 packages=packages,46 package_data={'': ['LICENSE', 'NOTICE'], 'requests': ['*.pem']},47 package_dir={'requests': 'requests'},48 include_package_data=True,49 install_requires=requires,

Merge pull request #1893 from Lukasa/licenseKenneth Reitzbefore adoption4f12bfa

line 50why, one step back
50 license='Apache 2.0',

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 51–61why, one step back
51 zip_safe=False,
52 classifiers=(53 'Development Status :: 5 - Production/Stable',54 'Intended Audience :: Developers',55 'Natural Language :: English',56 'License :: OSI Approved :: Apache Software License',57 'Programming Language :: Python',58 'Programming Language :: Python :: 2.6',59 'Programming Language :: Python :: 2.7',60 'Programming Language :: Python :: 3',61 'Programming Language :: Python :: 3.3',

3.4 classifierKenneth Reitzbefore adoptiond22b8d8

line 62why, one step back
62 'Programming Language :: Python :: 3.4'

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

lines 63–64why, one step back
63
64 ),

Merge pull request #2195 from sigmavirus24/bettersslKenneth Reitzbefore adoptionbc25604

line 65why, one step back
65 extras_require={

requests[security]Kenneth Reitzbefore adoption958845a

line 66why, one step back
66 'security': ['pyOpenSSL', 'ndg-httpsclient', 'pyasn1'],

Merge pull request #2195 from sigmavirus24/bettersslKenneth Reitzbefore adoptionbc25604

line 67why, one step back
67 },

fix @lukasa's lack of taste :)Kenneth Reitzbefore adoption2c1f51b

line 68why, one step back
68)