Skip to content
Myr

setup.py

This file

Path

setup.py

59 lines · 1.5 KiB · Python

Last changed by

v0.8.4Kenneth Reitzbefore adoption10eed63

History of this file

Take it

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

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

lines 1–5why, one step back
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-34import os5import sys

Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa

line 6why, one step back
6import requests

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

line 7why, one step back
7

Merge branch 'release/0.5.0'Kenneth Reitzbefore adoption2d98ca7

lines 8–11why, one step back
8try:
9 from setuptools import setup10except ImportError:11 from distutils.core import setup

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

lines 12–13why, one step back
12
13

Merge branch 'release/0.3.2'Kenneth Reitzbefore adoption642c667

line 14why, one step back
14

v0.8.4Kenneth Reitzbefore adoption10eed63

lines 15–16why, one step back
15if sys.argv[-1] == 'publish':
16 os.system('python setup.py sdist upload')

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

line 17why, one step back
17 sys.exit()

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

line 18why, one step back
18

v0.8.4Kenneth Reitzbefore adoption10eed63

lines 19–20why, one step back
19if sys.argv[-1] == 'test':
20 os.system('python test_requests.py')

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

line 21why, one step back
21 sys.exit()

Merge branch 'release/0.3.2'Kenneth Reitzbefore adoption642c667

line 22why, one step back
22

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

lines 23–24why, one step back
23required = []
24

Merge branch 'release/0.3.2'Kenneth Reitzbefore adoption642c667

lines 25–26why, one step back
25if sys.version_info[:2] < (2,6):
26 required.append('simplejson')

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

lines 27–28why, one step back
27
28setup(

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

line 29why, one step back
29 name='requests',

Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa

line 30why, one step back
30 version=requests.__version__,

Merge branch 'release/0.5.1'Kenneth Reitzbefore adoption95ba6fc

line 31why, one step back
31 description='Python HTTP for Humans.',

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

lines 32–35why, one step back
32 long_description=open('README.rst').read() + '\n\n' +
33 open('HISTORY.rst').read(),34 author='Kenneth Reitz',35 author_email='me@kennethreitz.com',

Merge branch 'release/0.4.1'Kenneth Reitzbefore adoptionadd6fea

line 36why, one step back
36 url='http://python-requests.org',

v0.8.4Kenneth Reitzbefore adoption10eed63

line 37why, one step back
37 packages=[

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

lines 38–39why, one step back
38 'requests',
39 'requests.packages',

packageKenneth Reitzbefore adoption9d8d1d1

lines 40–41why, one step back
40 'requests.packages.urllib3',
41 'requests.packages.oreos'

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

line 42why, one step back
42 ],

v0.8.4Kenneth Reitzbefore adoption10eed63

lines 43–44why, one step back
43 package_data={'': ['LICENSE', 'NOTICE']},
44 include_package_data=True,

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

lines 45–47why, one step back
45 install_requires=required,
46 license='ISC',47 classifiers=(

Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa

line 48why, one step back
48 'Development Status :: 5 - Production/Stable',

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

lines 49–52why, one step back
49 'Intended Audience :: Developers',
50 'Natural Language :: English',51 'License :: OSI Approved :: ISC License (ISCL)',52 'Programming Language :: Python',

Merge branch 'release/0.2.4'Kenneth Reitzbefore adoptiond2cdefa

line 53why, one step back
53 'Programming Language :: Python :: 2.5',

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

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

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

lines 55–58why, one step back
55 'Programming Language :: Python :: 2.7',
56 # 'Programming Language :: Python :: 3.0',57 # 'Programming Language :: Python :: 3.1',58 ),

Fix NameError in exampleKenneth Reitzbefore adoption8fd480d

line 59why, one step back
59)