Fixed setup.py to work without having pygments already installed. Closes #1.

This commit is contained in:
Jakub Roztočil 2012-02-28 13:49:58 +01:00
parent 258fc0cd5f
commit 71b6b126c0
3 changed files with 8 additions and 10 deletions

View File

@ -0,0 +1,7 @@
"""
HTTPie - cURL for humans.
"""
__author__ = 'Jakub Roztocil'
__version__ = '0.1.3'
__licence__ = 'BSD'

View File

@ -1,8 +1,4 @@
#!/usr/bin/env python
"""
HTTPie - cURL for humans.
"""
import os
import sys
import json
@ -13,11 +9,6 @@ from requests.structures import CaseInsensitiveDict
from . import pretty
__author__ = 'Jakub Roztocil'
__version__ = '0.1.3'
__licence__ = 'BSD'
DEFAULT_UA = 'HTTPie/%s' % __version__
SEP_COMMON = ':'
SEP_DATA = '='

View File

@ -1,5 +1,5 @@
from setuptools import setup
from httpie import httpie
import httpie
setup(name='httpie',version=httpie.__version__,