Skip to content
Myr

setup.py

This file

Path

setup.py

62 lines · 1.6 KiB · Python

Last changed by

Merge pull request #2026 from Lukasa/updateurllib3Kenneth Reitzbefore adoption02a76b7

History of this file

Take it

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

get_auth_from_url return None if nothing is foundKenneth Reitzbefore adoption03a3ca5

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' into fix-pickling-adaptersKenneth Reitzbefore adoptiondf1c233

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

get_auth_from_url return None if nothing is foundKenneth Reitzbefore adoption03a3ca5

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

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

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

Merge pull request #2026 from Lukasa/updateurllib3Kenneth Reitzbefore adoption02a76b7

lines 24–25why, one step back
24 'requests.packages.urllib3.util',
25 'requests.packages.urllib3.packages.ssl_match_hostname',

get_auth_from_url return None if nothing is foundKenneth Reitzbefore adoption03a3ca5

lines 26–29why, one step back
26]
2728requires = []29

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

lines 30–34why, one step back
30with open('README.rst') as f:
31 readme = f.read()32with open('HISTORY.rst') as f:33 history = f.read()34

get_auth_from_url return None if nothing is foundKenneth Reitzbefore adoption03a3ca5

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

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

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

get_auth_from_url return None if nothing is foundKenneth Reitzbefore adoption03a3ca5

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

Merge pull request #1893 from Lukasa/licenseKenneth Reitzbefore adoption4f12bfa

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

get_auth_from_url return None if nothing is foundKenneth Reitzbefore adoption03a3ca5

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

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

line 60why, one step back
60

get_auth_from_url return None if nothing is foundKenneth Reitzbefore adoption03a3ca5

lines 61–62why, one step back
61 ),
62)