Files
nutshell/Makefile
2023-03-15 16:10:11 +01:00

37 lines
602 B
Makefile

isort:
poetry run isort --profile black . --skip cashu/nostr
black:
poetry run black . --exclude cashu/nostr
format:
make isort
make black
make mypy
mypy:
poetry run mypy cashu --ignore-missing
clean:
rm -r cashu.egg-info/ || true
find . -name ".DS_Store" -exec rm -f {} \; || true
rm -rf dist || true
rm -rf build || true
package:
make clean
python setup.py sdist bdist_wheel
test:
pytest tests/
install:
make clean
python setup.py sdist bdist_wheel
pip install --upgrade dist/*
upload:
make clean
python setup.py sdist bdist_wheel
twine upload --repository pypi dist/*