Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 980 Bytes

File metadata and controls

22 lines (20 loc) · 980 Bytes

Some notes on how to deploy this

Followed this tutorial https://packaging.python.org/en/latest/tutorials/packaging-projects/ The pwd is on my google Dont forget to update the version number in setup.py -- currently is 0.1.4 And to change the testpipy to pipy in the twine upload And to skip existing versions with python3 -m twine upload --skip-existing --repository pypi dist/*

Steps

  1. Change version in pyproject.toml -- also in docs/source/conf.py
  2. Build with
    1. python3 -m build
  3. deploy with
    1. python3 -m twine upload --skip-existing --repository pypi dist/*
  4. As user token as pwd pypi-AgEIcHlwaS5vcmcCJGY4ZTUwNTFjLTQ3M2EtNDYxMy1hNjMyLWI1NzMxZjlkZTgyYQACD1sxLFsic2tzaGlmdCJdXQACLFsyLFsiZWVhNzEyZTgtYjcwNC00MTY4LWJkMmUtOTlmMDRmMTBhNGU0Il1dAAAGIHrMgMxD_5KJxea0zOsFUpRgZBmjN-7AkcTxzQKVIhPL ``

Webpage

Following this tutorial https://docs.readthedocs.io/en/stable/tutorial/ Sign with Github To build locally sphinx-build -a docs/source/ docs/build