mirror of
https://github.com/httpie/cli.git
synced 2025-08-17 13:41:02 +02:00
Fixed IOError in setup.py.
This commit is contained in:
10
setup.py
10
setup.py
@ -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',
|
||||
]
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user