Skip to content

Produce a distribution named 'mypy' when built in mypyc mode #6596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions misc/download-mypyc-wheels.py
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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