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)