From 16792c2d79a97e4d44fda66ba2a8c11dc7370b8b Mon Sep 17 00:00:00 2001 From: pbashyal-nmdp Date: Wed, 30 Nov 2022 14:10:40 -0600 Subject: [PATCH] Fix PyPi publishing --- .github/workflows/pythonpublish.yml | 2 +- MANIFEST.in | 1 + Makefile | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 88a9c17..68ba2b0 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -28,5 +28,5 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - python setup.py sdist bdist_wheel + python setup.py sdist twine upload --verbose dist/* diff --git a/MANIFEST.in b/MANIFEST.in index bc6d0e1..205e48d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ include requirements.txt include README.md +include HISTORY.rst include LICENSE include *.txt recursive-include grim *.py diff --git a/Makefile b/Makefile index f5e0a4d..cc872e8 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,6 @@ coverage: ## check code coverage quickly with the default Python dist: clean ## builds source and wheel package python setup.py sdist - python setup.py bdist_wheel ls -l dist docker-build: ## build a docker image for the service