Skip to content

Commit 9c50ff3

Browse files
committed
Makefile and bump packit again
1 parent d9a707f commit 9c50ff3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

107107
pypi: 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

113113
pypitest: 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
120120
tag:

0 commit comments

Comments
 (0)