Skip to content

Commit

Permalink
Clean up build scripts to use Flit
Browse files Browse the repository at this point in the history
  • Loading branch information
jadchaar committed Dec 16, 2021
1 parent bb5ded8 commit eba8d9b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,13 @@ clean: clean-dist
clean-dist:
rm -rf dist build *.egg *.eggs *.egg-info

#build-dist:
# . venv/bin/activate; \
# pip install -U setuptools twine wheel; \
# python setup.py sdist bdist_wheel

build-dist:
. venv/bin/activate; \
pip install -U flit; \
flit build --setup-py

upload-dist:
. venv/bin/activate; twine upload dist/*
. venv/bin/activate; \
flit publish

publish: test clean build-dist upload-dist clean

0 comments on commit eba8d9b

Please sign in to comment.