File: setup.py

package info (click to toggle)
httpie 0.1.6%2B20120309git-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 248 kB
  • sloc: python: 512; makefile: 2
file content (53 lines) | stat: -rw-r--r-- 1,536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import os
import sys
from setuptools import setup
import httpie


if sys.argv[-1] == 'test':
    os.system('python tests.py')
    sys.exit()


requirements = ['requests>=0.10.4', 'Pygments>=1.4']
if sys.version_info < (2, 7):
    requirements.append('argparse>=1.2.1')


setup(
    name='httpie',
    version=httpie.__version__,
    description=httpie.__doc__.strip(),
    long_description=open('README.rst').read(),
    url='http://httpie.org/',
    download_url='https://github.com/jkbr/httpie',
    author=httpie.__author__,
    author_email='jakub@roztocil.name',
    license=httpie.__licence__,
    packages=['httpie'],
    entry_points={
        'console_scripts': [
            'http = httpie.__main__:main',
        ],
    },
    install_requires=requirements,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        # TODO: Python 3
        # 'Programming Language :: Python :: 3.1'
        # 'Programming Language :: Python :: 3.2'
        # 'Programming Language :: Python :: 3.3'
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: BSD License',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Software Development',
        'Topic :: System :: Networking',
        'Topic :: Terminals',
        'Topic :: Text Processing',
    ],
)