File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,19 +102,19 @@ build: clean
102102 @echo " #############################################"
103103 @echo " # Building sdist + wheel"
104104 @echo " #############################################"
105- python -m build
105+ . $( NAME ) env3/bin/activate && python -m build
106106
107107pypi : build
108108 @echo " #############################################"
109109 @echo " # Uploading to PyPI"
110110 @echo " #############################################"
111- twine upload dist/*
111+ . $( NAME ) env3/bin/activate && pip install twine && twine upload dist/*
112112
113113pypitest : build
114114 @echo " #############################################"
115115 @echo " # Uploading to TestPyPI"
116116 @echo " #############################################"
117- twine upload --repository testpypi dist/*
117+ . $( NAME ) env3/bin/activate && pip install twine && twine upload --repository testpypi dist/*
118118
119119# usage example: make tag TAG=1.1.0-1
120120tag :
You can’t perform that action at this time.
0 commit comments