You've already forked httpie-cli
							
							
				mirror of
				https://github.com/httpie/cli.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	Fixed IOError in setup.py.
This commit is contained in:
		| @@ -104,4 +104,4 @@ Most of the flags mirror the arguments you would use with `requests.request`. Se | |||||||
|  |  | ||||||
| ### Changelog | ### 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) | ||||||
|   | |||||||
| @@ -3,5 +3,5 @@ HTTPie - cURL for humans. | |||||||
|  |  | ||||||
| """ | """ | ||||||
| __author__ = 'Jakub Roztocil' | __author__ = 'Jakub Roztocil' | ||||||
| __version__ = '0.1.5' | __version__ = '0.1.6' | ||||||
| __licence__ = 'BSD' | __licence__ = 'BSD' | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								setup.py
									
									
									
									
									
								
							| @@ -14,10 +14,16 @@ if sys.version_info < (2, 7): | |||||||
|     requirements.append('argparse>=1.2.1') |     requirements.append('argparse>=1.2.1') | ||||||
|  |  | ||||||
|  |  | ||||||
|  | try: | ||||||
|  |     long_description = open('README.md').read() | ||||||
|  | except IOError: | ||||||
|  |     long_description = '' | ||||||
|  |  | ||||||
|  |  | ||||||
| setup( | setup( | ||||||
|     name='httpie',version=httpie.__version__, |     name='httpie',version=httpie.__version__, | ||||||
|     description=httpie.__doc__.strip(), |     description=httpie.__doc__.strip(), | ||||||
|     long_description=open('README.md').read(), |     long_description=long_description, | ||||||
|     url='http://httpie.org/', |     url='http://httpie.org/', | ||||||
|     download_url='https://github.com/jkbr/httpie', |     download_url='https://github.com/jkbr/httpie', | ||||||
|     author=httpie.__author__, |     author=httpie.__author__, | ||||||
| @@ -48,5 +54,5 @@ setup( | |||||||
|         'Topic :: System :: Networking', |         'Topic :: System :: Networking', | ||||||
|         'Topic :: Terminals', |         'Topic :: Terminals', | ||||||
|         'Topic :: Text Processing', |         'Topic :: Text Processing', | ||||||
|     ] |     ], | ||||||
| ) | ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user