1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
all: wheel sdist
wheel:
python3 -m build --wheel
sdist:
python3 -m build --sdist
clean:
rm -rf build/ dist/ src/*.egg-info src/__pycache__ test/__pycache__
test: unittest doctest
unittest:
PYTHONPATH=src:test python3 -m test.test_toposort
doctest:
PYTHONPATH=src python3 -m doctest README.md
upload:
twine upload dist/*
# I don't think my account is registered on the test server, but this
# is how it should work when that is fixed.
upload-test:
twine upload --repository=testpypi --verbose dist/*
|