Skip to content

Commit

Permalink
Fixed makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Oct 4, 2023
1 parent 964042f commit 1fdb00e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ clean:
@rm -rf ./build/ ./dist/ ./coercer.egg-info/

docs:
@python3 -m pip install pdoc
@python3 -m pip install pdoc --break-system-packages
@echo "[$(shell date)] Generating docs ..."
@python3 -m pdoc -d markdown -o ./documentation/ ./coercer/
@echo "[$(shell date)] Done!"

install: build
python3 -m pip uninstall coercer --break-system-packages --yes
python3 setup.py install
pip install . --break-system-packages

build:
python3 setup.py sdist bdist_wheel
python3 -m pip uninstall coercer --yes --break-system-packages
pip install .[build] --break-system-packages
python3 -m build --wheel

upload: build
pip install .[twine] --break-system-packages
twine upload dist/*

0 comments on commit 1fdb00e

Please sign in to comment.