Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 791 Bytes

notes.md

File metadata and controls

33 lines (22 loc) · 791 Bytes

activate/deactivate the python virtual env

  • source gplates-proxy-venv/bin/activate

  • deactivate

build and install the package

  • pip3 install pip-tools
  • pip-compile pyproject.toml
  • pip3 install .

test

  • The file .env must be in current working directory. Alternatively you can set the env variables instead.

doc

  • pip-compile pyproject.toml
  • pip3 install .
  • pip3 install -U sphinx sphinx_rtd_theme
  • sphinx-apidoc -o doc/source src/gplates_proxy/
  • make html

⚠️You need to re-install the gplates_proxy, otherwise the sphinx will keep using the installed stable version(old code).

Publish to PyPI

  • pip install build twine
  • python -m build
  • twine check dist/*
  • twine upload -r testpypi dist/*
  • twine upload dist/*