From 23d0391255ad72fb342097bcbf056a9388b1b250 Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sat, 14 Mar 2020 09:44:31 -0700 Subject: Per PEP 527 stop building bdist_wininst --- appveyor.yml | 2 +- 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 -- cgit v1.2.1