@@ -780,33 +780,34 @@ containerfile-update:
780
780
# help: verify - Build + twine + check-manifest + pyroma (no upload)
781
781
# help: publish - Verify, then upload to PyPI (needs TWINE_* creds)
782
782
# =============================================================================
783
- .PHONY : dist wheel sdist verify publish
783
+ .PHONY : dist wheel sdist verify publish publish-testpypi
784
784
785
785
dist : clean # # Build wheel + sdist
786
- python3 -m build
786
+ @/bin/bash -c " source $( VENV_DIR ) /bin/activate && python3 -m build"
787
787
@echo " 🛠 Wheel & sdist written to ./dist"
788
788
789
789
wheel : # # Build wheel only
790
- python3 -m build -w
790
+ @/bin/bash -c " source $( VENV_DIR ) /bin/activate && python3 -m build -w"
791
791
@echo " 🛠 Wheel written to ./dist"
792
792
793
793
sdist : # # Build source distribution only
794
- python3 -m build -s
794
+ @/bin/bash -c " source $( VENV_DIR ) /bin/activate && python3 -m build -s"
795
795
@echo " 🛠 Source distribution written to ./dist"
796
796
797
797
verify : dist # # Build, run metadata & manifest checks
798
- twine check dist/* # metadata sanity
799
- check-manifest # sdist completeness
800
- pyroma -d . # metadata quality score
798
+ @/bin/bash -c " source $( VENV_DIR) /bin/activate && \
799
+ twine check dist/* && \
800
+ check-manifest && \
801
+ pyroma -d ."
801
802
@echo " ✅ Package verified – ready to publish."
802
803
803
804
publish : verify # # Verify, then upload to PyPI
804
- twine upload dist/ * # creds via env vars or ~/.pypirc
805
+ @/bin/bash -c " source $( VENV_DIR ) /bin/activate && twine upload dist/* "
805
806
@echo " 🚀 Upload finished – check https://pypi.org/project/$( PROJECT_NAME) /"
806
807
807
- publish-testpypi : verify # # Verify, then upload to TestPyPI
808
- twine upload --repository testpypi dist/* # creds via env vars or ~/.pypirc
809
- @echo " 🚀 Upload finished – check https://pypi.org/project/$( PROJECT_NAME) /"
808
+ publish-testpypi : verify # # Verify, then upload to TestPyPI
809
+ @/bin/bash -c " source $( VENV_DIR ) /bin/activate && twine upload --repository testpypi dist/*"
810
+ @echo " 🚀 Upload finished – check https://test. pypi.org/project/$( PROJECT_NAME) /"
810
811
811
812
# =============================================================================
812
813
# 🦭 PODMAN CONTAINER BUILD & RUN
0 commit comments