mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
committed by
Jelle Zijlstra
parent
e006fafe2a
commit
be80c36816
@@ -11,6 +11,7 @@ import tempfile
|
||||
if __name__ == '__main__':
|
||||
with tempfile.TemporaryDirectory() as tempdir:
|
||||
dirpath = Path(tempdir)
|
||||
subprocess.run(['python2.7', '-m', 'pip', 'install', '--user', 'typing'], check=True)
|
||||
subprocess.run(['git', 'clone', '--depth', '1', 'git://github.com/python/mypy',
|
||||
str(dirpath / 'mypy')], check=True)
|
||||
subprocess.run([sys.executable, '-m', 'pip', 'install', '-U', '-r',
|
||||
|
||||
Reference in New Issue
Block a user