Fixed IOError in setup.py.

This commit is contained in:
Jakub Roztočil 2012-03-04 13:46:41 +01:00
parent 7ca6191902
commit c446d756ab
3 changed files with 10 additions and 4 deletions

View File

@ -104,4 +104,4 @@ Most of the flags mirror the arguments you would use with `requests.request`. Se
### Changelog
* [0.1.5](https://github.com/jkbr/httpie/compare/0.1.4...0.1.5) (2012-03-04)
* [0.1.6](https://github.com/jkbr/httpie/compare/0.1.4...0.1.6) (2012-03-04)

View File

@ -3,5 +3,5 @@ HTTPie - cURL for humans.
"""
__author__ = 'Jakub Roztocil'
__version__ = '0.1.5'
__version__ = '0.1.6'
__licence__ = 'BSD'

View File

@ -14,10 +14,16 @@ if sys.version_info < (2, 7):
requirements.append('argparse>=1.2.1')
try:
long_description = open('README.md').read()
except IOError:
long_description = ''
setup(
name='httpie',version=httpie.__version__,
description=httpie.__doc__.strip(),
long_description=open('README.md').read(),
long_description=long_description,
url='http://httpie.org/',
download_url='https://github.com/jkbr/httpie',
author=httpie.__author__,
@ -48,5 +54,5 @@ setup(
'Topic :: System :: Networking',
'Topic :: Terminals',
'Topic :: Text Processing',
]
],
)