mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-30 23:47:55 +03:00 
			
		
		
		
	Merge pull request #873 from asodeur/issue_872
Special characters in README.rst break setup.py on Windows
This commit is contained in:
		
						commit
						ae7a5d71c7
					
				
							
								
								
									
										5
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								setup.py
									
									
									
									
									
								
							|  | @ -1,4 +1,5 @@ | ||||||
| import ast | import ast | ||||||
|  | import codecs | ||||||
| import re | import re | ||||||
| import sys | import sys | ||||||
| 
 | 
 | ||||||
|  | @ -61,7 +62,9 @@ setup( | ||||||
|     name="graphene", |     name="graphene", | ||||||
|     version=version, |     version=version, | ||||||
|     description="GraphQL Framework for Python", |     description="GraphQL Framework for Python", | ||||||
|     long_description=open("README.rst").read(), |     long_description=codecs.open( | ||||||
|  |         "README.rst", "r", encoding="ascii", errors="replace" | ||||||
|  |     ).read(), | ||||||
|     url="https://github.com/graphql-python/graphene", |     url="https://github.com/graphql-python/graphene", | ||||||
|     author="Syrus Akbary", |     author="Syrus Akbary", | ||||||
|     author_email="me@syrusakbary.com", |     author_email="me@syrusakbary.com", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user