You've already forked httpie-cli
							
							
				mirror of
				https://github.com/httpie/cli.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	README
This commit is contained in:
		| @@ -709,7 +709,12 @@ On OS X, you can send the contents of the clipboard with ``pbpaste``: | |||||||
|  |  | ||||||
|  |  | ||||||
| Passing data through ``stdin`` cannot be combined with data fields specified | Passing data through ``stdin`` cannot be combined with data fields specified | ||||||
| on the command line. | on the command line: | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. code-block:: bash | ||||||
|  |  | ||||||
|  |     $ echo 'data' | http POST example.org more=data   # This is invalid | ||||||
|  |  | ||||||
|  |  | ||||||
| ------------------------- | ------------------------- | ||||||
|   | |||||||
							
								
								
									
										7
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								setup.py
									
									
									
									
									
								
							| @@ -1,6 +1,5 @@ | |||||||
| import os | import os | ||||||
| import sys | import sys | ||||||
| import re |  | ||||||
| import codecs | import codecs | ||||||
| from setuptools import setup | from setuptools import setup | ||||||
| import httpie | import httpie | ||||||
| @@ -24,12 +23,8 @@ if 'win32' in str(sys.platform).lower(): | |||||||
|  |  | ||||||
|  |  | ||||||
| def long_description(): | def long_description(): | ||||||
|     """Pre-process the README so that PyPi can render it properly.""" |  | ||||||
|     with codecs.open('README.rst', encoding='utf8') as f: |     with codecs.open('README.rst', encoding='utf8') as f: | ||||||
|         rst = f.read() |         return f.read() | ||||||
|     code_block = '(:\n\n)?\.\. code-block::.*' |  | ||||||
|     rst = re.sub(code_block, '::', rst) |  | ||||||
|     return rst |  | ||||||
|  |  | ||||||
|  |  | ||||||
| setup( | setup( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user