2012-03-02 01:21:34 +03:00
|
|
|
import sys
|
2012-02-25 15:39:38 +03:00
|
|
|
from setuptools import setup
|
2012-02-28 15:49:58 +03:00
|
|
|
import httpie
|
2012-02-25 15:39:38 +03:00
|
|
|
|
|
|
|
|
2012-03-02 01:21:34 +03:00
|
|
|
requirements = ['requests>=0.10.4', 'Pygments>=1.4']
|
|
|
|
|
|
|
|
if sys.version_info < (2 , 7):
|
|
|
|
requirements.append('argparse>=1.2.1')
|
|
|
|
|
|
|
|
|
2012-02-26 18:22:04 +03:00
|
|
|
setup(name='httpie',version=httpie.__version__,
|
|
|
|
description=httpie.__doc__.strip(),
|
2012-02-25 15:39:38 +03:00
|
|
|
url='https://github.com/jkbr/httpie',
|
2012-02-26 18:22:04 +03:00
|
|
|
author=httpie.__author__,
|
|
|
|
license=httpie.__licence__,
|
2012-02-25 15:39:38 +03:00
|
|
|
packages=['httpie'],
|
2012-02-27 13:54:41 +03:00
|
|
|
entry_points={'console_scripts': ['http = httpie.httpie:main']},
|
2012-03-02 01:21:34 +03:00
|
|
|
install_requires=requirements)
|