mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 08:22:22 +02:00
ca8779d879
Renamed httpie.httpie to httpie.__main__ so that one can invoke it via python -m httpie.
20 lines
496 B
Python
20 lines
496 B
Python
import sys
|
|
from setuptools import setup
|
|
import httpie
|
|
|
|
|
|
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(),
|
|
url='http://httpie.org/',
|
|
author=httpie.__author__,
|
|
license=httpie.__licence__,
|
|
packages=['httpie'],
|
|
entry_points={'console_scripts': ['http = httpie.__main__:main']},
|
|
install_requires=requirements)
|