Use the `repr` of version strings in wheels.

上级 b20fd061
......@@ -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}"
""",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册