File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
from setuptools import setup
13
13
from setuptools .command .build_py import build_py
14
- from mypy .version import base_version
14
+ from mypy .version import __version__ , base_version
15
15
from mypy import git
16
16
17
17
git .verify_git_integrity_or_abort ("." )
18
18
19
- version = base_version
19
+ version = __version__
20
20
description = 'Optional static typing for Python'
21
21
long_description = '''
22
22
Mypy -- Optional Static Typing for Python
@@ -58,7 +58,7 @@ def pin_version(self):
58
58
path = os .path .join (self .build_lib , 'mypy' )
59
59
self .mkpath (path )
60
60
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 ))
62
62
63
63
def run (self ):
64
64
self .execute (self .pin_version , ())
@@ -99,7 +99,7 @@ def run(self):
99
99
install_requires .append ('typing >= 3.5.2' )
100
100
101
101
setup (name = 'mypy-lang' ,
102
- version = version ,
102
+ version = base_version ,
103
103
description = description ,
104
104
long_description = long_description ,
105
105
author = 'Jukka Lehtosalo' ,
You can’t perform that action at this time.
0 commit comments