diff options
-rw-r--r-- | appveyor.yml | 2 | ||||
-rw-r--r-- | scripts/release.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 2ee5429..3eec161 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -72,7 +72,7 @@ build: off test_script: - "%WITH_COMPILER% %PYTHON%/python setup.py build_ext -i" - "%WITH_COMPILER% %PYTHON%/python setup.py test" - - "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wheel bdist_wininst" + - "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wheel" artifacts: - path: dist\*.exe diff --git a/scripts/release.py b/scripts/release.py index 8253ab1..34e23ff 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -51,7 +51,7 @@ def artifact_matcher(version): def matches(fn): return ( fn.startswith(prefix) and - os.path.splitext(fn)[1] in ('.exe', '.whl') and + fn.endswith('.whl') and not fn.endswith('-none-any.whl') ) or fn == '{}.tar.gz'.format(prefix) return matches |