Skip to content

Commit

Permalink
Produce a distribution named 'mypy' when built in mypyc mode (#6596)
Browse files Browse the repository at this point in the history
This will allow us to distribute compiled packages by default for
mypy.
  • Loading branch information
msullivan authored and JukkaL committed Mar 29, 2019
1 parent f6d206f commit bb2eed0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions misc/download-mypyc-wheels.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

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

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

def download(url):
print('Downloading', url)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -156,7 +156,7 @@ def run(self):
'Topic :: Software Development',
]

setup(name='mypy' if not USE_MYPYC else 'mypy-mypyc',
setup(name='mypy',
version=version,
description=description,
long_description=long_description,
Expand Down

0 comments on commit bb2eed0

Please sign in to comment.