Skip to content

Commit

Permalink
Fixed IOError in setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbrzt committed Mar 4, 2012
1 parent 7ca6191 commit c446d75
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion httpie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"""
__author__ = 'Jakub Roztocil'
__version__ = '0.1.5'
__version__ = '0.1.6'
__licence__ = 'BSD'
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@
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__,
Expand Down Expand Up @@ -48,5 +54,5 @@
'Topic :: System :: Networking',
'Topic :: Terminals',
'Topic :: Text Processing',
]
],
)

0 comments on commit c446d75

Please sign in to comment.