2023-11-24 21:16:48 -07:00
|
|
|
# Build
|
2023-11-25 10:22:29 -07:00
|
|
|
Build, perhaps like this:
|
2023-11-24 21:16:48 -07:00
|
|
|
|
|
|
|
```
|
2023-11-25 10:22:29 -07:00
|
|
|
deactivate ; rm -rf venv env dist ; virtualenv env ; source env/bin/activate ; pip install -U setuptools wheel pip ; pip install -r requirements.txt ; pip install -e . ; cd docs/ ; make clean ; make html ; cd .. ; python -m build
|
2023-11-24 21:16:48 -07:00
|
|
|
```
|
2023-11-25 11:51:18 -07:00
|
|
|
|
2023-11-25 12:05:19 -07:00
|
|
|
Cleanish:
|
|
|
|
|
|
|
|
```
|
2023-11-25 12:20:48 -07:00
|
|
|
source env/bin/activate ; cd docs/ ; make clean ; cd .. ; deactivate ; rm -rf venv env dist src/*-info src/*/__pycache__
|
2023-11-25 12:05:19 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
|
2023-11-25 11:51:18 -07:00
|
|
|
# Versions
|
|
|
|
|
|
|
|
```
|
|
|
|
vim CHANGELOG.txt docs/source/conf.py pyproject.toml
|
2023-11-25 11:51:54 -07:00
|
|
|
# git commit CHANGELOG.txt docs/source/conf.py pyproject.toml -m "v0.0.0"
|
2023-11-25 11:51:18 -07:00
|
|
|
# git tag v0.0.0
|
|
|
|
# git push ; git push --tags
|
|
|
|
```
|