From ae311e4b84e3dc3cbc9a6559774f2109705967ac Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 9 May 2024 16:01:32 +0200 Subject: [PATCH] appveyor.yml: also build python module source tar.gz and upload it --- appveyor.yml | 2 +- miniupnpc/Makefile.mingw | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index e693425..04d01e6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -99,4 +99,4 @@ artifacts: deploy_script: - appveyor AddCompilationMessage "Deploying to PyPI" - '%PYTHON_VER%\\python.exe -m pip install twine' - - '%PYTHON_VER%\\python.exe -m twine upload -u %USER% -p %PASS% --skip-existing dist/*.whl' + - '%PYTHON_VER%\\python.exe -m twine upload -u %USER% -p %PASS% --skip-existing dist/*.whl dist/*.tar.gz' diff --git a/miniupnpc/Makefile.mingw b/miniupnpc/Makefile.mingw index 9288aa5..d42ad6f 100644 --- a/miniupnpc/Makefile.mingw +++ b/miniupnpc/Makefile.mingw @@ -86,6 +86,7 @@ libminiupnpc.a: $(OBJS) pythonmodule: libminiupnpc.a $(PYTHON) setupmingw32.py build $(SETUP_COMPILER_FLAG) $(PYTHON) setupmingw32.py install --skip-build + $(PYTHON) setupmingw32.py sdist $(PYTHON) setupmingw32.py bdist_wheel --skip-build miniupnpc.dll: miniupnpc.def $(OBJSDLL)