Skip to content

Commit bb2eed0

Browse files
msullivanJukkaL
authored andcommitted
Produce a distribution named 'mypy' when built in mypyc mode (python#6596)
This will allow us to distribute compiled packages by default for mypy.
1 parent f6d206f commit bb2eed0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

misc/download-mypyc-wheels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
# Script for downloading mypy_mypyc wheels in preparation for a release
3+
# Script for downloading mypyc-compiled mypy wheels in preparation for a release
44

55
import os
66
import os.path
@@ -16,7 +16,7 @@
1616
MIN_VER = 5
1717
MAX_VER = 7
1818
BASE_URL = "https://github.com/mypyc/mypy_mypyc-wheels/releases/download"
19-
URL = "{base}/v{version}/mypy_mypyc-{version}-cp3{pyver}-cp3{pyver}m-{platform}.whl"
19+
URL = "{base}/v{version}/mypy-{version}-cp3{pyver}-cp3{pyver}m-{platform}.whl"
2020

2121
def download(url):
2222
print('Downloading', url)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def run(self):
156156
'Topic :: Software Development',
157157
]
158158

159-
setup(name='mypy' if not USE_MYPYC else 'mypy-mypyc',
159+
setup(name='mypy',
160160
version=version,
161161
description=description,
162162
long_description=long_description,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy