diff --git a/README.dev.md b/README.dev.md index 4a13a92..140574c 100644 --- a/README.dev.md +++ b/README.dev.md @@ -165,10 +165,11 @@ rm -rf bird_cloud_gnn.egg-info rm -rf dist # create the source distribution and the wheel -python3 setup.py sdist bdist_wheel +python3 -m build # upload to test pypi instance (requires credentials) -twine upload --repository-url https://test.pypi.org/legacy/ dist/* +twine upload -u __token__ -p THETOKEN -r testpypi dist/* + ``` Visit @@ -200,7 +201,7 @@ Then upload to pypi.org with: ```shell # Back to the first terminal, # FINAL STEP: upload to PyPI (requires credentials) -twine upload dist/* +twine upload -u __token__ -p THETOKEN dist/* ``` ### (3/3) GitHub diff --git a/setup.cfg b/setup.cfg index 7ddd9f9..5f947c6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -64,7 +64,7 @@ dev = myst_parser publishing = twine - wheel + build [options.packages.find] include = bird_cloud_gnn, bird_cloud_gnn.*