Skip to content

Commit 78428a4

Browse files
update pypi make rule
1 parent 0d4c5ff commit 78428a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ builddeb: buildrpm
7070

7171
pypi: clean
7272
## pypi user is walten, repository is https://upload.pypi.org/legacy/
73+
python -m pip install build
7374
rm -rf dist
74-
python3 setup.py sdist bdist_wheel
75+
# python3 setup.py sdist bdist_wheel
76+
python -m build .
77+
twine check --strict dist/*
7578
twine upload dist/smodels-*.tar.gz
7679

7780
testpypi: clean

0 commit comments

Comments
 (0)