We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb43de commit 63f7059Copy full SHA for 63f7059
setup.py
@@ -14,12 +14,15 @@
14
# alternative forms of installing, as suggested by README.md).
15
from setuptools import setup
16
from setuptools.command.build_py import build_py
17
-from mypy.version import base_version
+from mypy.version import base_version, __version__
18
from mypy import git
19
20
git.verify_git_integrity_or_abort(".")
21
22
-version = base_version
+if 'bdist_wheel' in sys.argv[1:]:
23
+ version = base_version
24
+else:
25
+ version = __version__
26
description = 'Optional static typing for Python'
27
long_description = '''
28
Mypy -- Optional Static Typing for Python
0 commit comments