Closed jobh closed 1 year ago
It looks like this is sufficient to create a pypi-compatible source package.
To build:
pip install build python -m build -o dist
To upload to pypi:
pip install twine twine upload dist/pykonal-*.tar.gz
Now, the build command builds both source package and wheel, which I think is nice because it verifies that the wheel is buildable from the sdist. The wheel cannot (and should not) be uploaded though.
build
Test upload can be done by
twine upload --repository testpypi dist/pykonal-*.tar.gz
and test install by
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pykonal
Ref issue #18
Thanks for this contribution @jobh! I think a lot of people will benefit from it :)
It looks like this is sufficient to create a pypi-compatible source package.
To build:
To upload to pypi:
Now, the
build
command builds both source package and wheel, which I think is nice because it verifies that the wheel is buildable from the sdist. The wheel cannot (and should not) be uploaded though.Test
Test upload can be done by
and test install by