1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Use the repr of version strings in wheels.

This commit is contained in:
Pradyun Gedam 2019-10-01 11:43:47 +05:30
parent b20fd061c4
commit 64262aacee
No known key found for this signature in database
GPG key ID: DA17C4B29CB32E4B

View file

@ -924,7 +924,7 @@ def create_basic_wheel_for_package(script, name, version,
extras = {}
files = {
"{name}/__init__.py": """
__version__ = {version}
__version__ = {version!r}
def hello():
return "Hello From {name}"
""",