1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00
httpie-cli/setup.py
Jakub Roztočil ca8779d879 Merge branch 'main-module-convention' of https://github.com/gandaro/httpie into gandaro-main-module-convention
Renamed httpie.httpie to httpie.__main__ so that one can invoke it via python -m httpie.
2012-03-04 03:13:50 +01:00

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)