my Pypi token:
pypi-AgENdGVzdC5weXBpLm9yZwIkMzkzZDQ5MjEtYjAyYS00MjVjLWExYmYtNTM5YmZmOTNiNTEzAAIqWzMsIjgzMTA3M2I4LTU5MmYtNDlhMS1hNzViLTI3ZWE1ZGE0NjAzYSJdAAAGIGk_h-nrGVlHCMAJbvqntUDD_BiGmKZNUC2aQ47eeChF
-
Delete existing dist folder
-
Change version in pyproject to a newer version...
-
build the package
python3 -m build
- upload the package to pypi test.
python3 -m twine upload --repository testpypi dist/*
Rt3x6RyF
can now view it at, e.g., https://test.pypi.org/project/sar-ship-detection/0.0.1/
https://test.pypi.org/project/sar-ship-detection/0.0.1/
to install:
python3 -m pip install -i https://test.pypi.org/simple/ sar-ship-detection==0.0.1