Skip to content
Myr

setup.py

This file

Path

setup.py

51 lines · 1.3 KiB · Python

Last changed by

Merge branch 'release/0.9.4'Kenneth Reitzbefore adoption952970f

History of this file

Take it

1#!/usr/bin/env python2# -*- coding: utf-8 -*-34import os5import sys67from distutils.core import setup8910    11if sys.argv[-1] == "publish":12    os.system("python setup.py sdist upload")13    sys.exit()1415if sys.argv[-1] == "test":16    os.system("python test_requests.py")17    sys.exit()18    19required = []2021# if python > 2.6, require simplejson2223setup(24    name='requests',25    version='0.2.3',26    description='Awesome Python HTTP Library that\'s actually usable.',27    long_description=open('README.rst').read() + '\n\n' +28                     open('HISTORY.rst').read(),29    author='Kenneth Reitz',30    author_email='me@kennethreitz.com',31    url='https://github.com/kennethreitz/requests',32    packages= [33        'requests',34        'requests.packages',35        'requests.packages.poster'36    ],37    install_requires=required,38    license='ISC',39    classifiers=(40        # 'Development Status :: 5 - Production/Stable',41        'Intended Audience :: Developers',42        'Natural Language :: English',43        'License :: OSI Approved :: ISC License (ISCL)',44        'Programming Language :: Python',45        # 'Programming Language :: Python :: 2.5',46        'Programming Language :: Python :: 2.6',47        'Programming Language :: Python :: 2.7',48        # 'Programming Language :: Python :: 3.0',49        # 'Programming Language :: Python :: 3.1',50    ),51)