/opt/homebrew/bin/python3 -m venv pmm-venv(macos system python is no good.)source pmm-venv/bin/activatepip3 install -r plate-model-manager-venv.txtdeactivate
pip3 install pip-toolspip-compile pyproject.tomlpip3 install .
- The file .env must be in current working directory. Alternatively you can set the env variables instead.
pip-compile pyproject.tomlpip3 install .pip install -U sphinx sphinx_rtd_themesphinx-apidoc -o doc/source src/plate_model_manager/make html
pip install build twinepython -m buildtwine check dist/*twine upload -r testpypi dist/*twine upload dist/*- username is __token__
- password is the API token. go to https://pypi.org/manage/account/token/ to get a one-time token
git clone https://github.com/gplates/plate-model-manager.git gh-pages.gitgit checkout --orphan gh-pagesgit rm -rf .cp -rf ../doc/build/html/* .touch .nojekyllgit add .git commit -m"initial gh-pages checkin"git push --set-upstream origin gh-pages
create GH_PAGE_COMMIT_TOKEN for the github workflow