Skip to content

Commit 8daa9ee

Browse files
author
Guido van Rossum
committed
DO NOT MERGE (another random mod)
1 parent 01fa985 commit 8daa9ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
from setuptools import setup
1313
from setuptools.command.build_py import build_py
14-
from mypy.version import base_version
14+
from mypy.version import __version__, base_version
1515
from mypy import git
1616

1717
git.verify_git_integrity_or_abort(".")
1818

19-
version = base_version
19+
version = __version__
2020
description = 'Optional static typing for Python'
2121
long_description = '''
2222
Mypy -- Optional Static Typing for Python
@@ -58,7 +58,7 @@ def pin_version(self):
5858
path = os.path.join(self.build_lib, 'mypy')
5959
self.mkpath(path)
6060
with open(os.path.join(path, 'version.py'), 'w') as stream:
61-
stream.write('__version__ = "{}"\n'.format(version))
61+
stream.write('__version__ = "{}"\n'.format(base_version))
6262

6363
def run(self):
6464
self.execute(self.pin_version, ())
@@ -99,7 +99,7 @@ def run(self):
9999
install_requires.append('typing >= 3.5.2')
100100

101101
setup(name='mypy-lang',
102-
version=version,
102+
version=base_version,
103103
description=description,
104104
long_description=long_description,
105105
author='Jukka Lehtosalo',

0 commit comments

Comments
 (0)