pyhoff/notes/build.md

30 lines
496 B
Markdown
Raw Permalink Normal View History

# Notes on building the package
```bash
# Get code
git clone https://github.com/Nonannet/pyhoff.git
cd pyhoff
# Setup venv
python -m venv ./.venv
source ./.venv/bin/activate # On Windows use `.\.venv\Scripts\activate`
2025-02-19 16:25:33 +00:00
# Update version number in
# - pyproject.toml
# - CITATION.cff
# Check code:
pip install -r requirements-dev.txt
flake8
pytest
# Build package:
pip install build
2025-02-20 12:19:59 +00:00
python -m build
# Upload
pip install twine
#python3 -m twine upload dist/*
2025-02-20 12:19:59 +00:00
python -m twine upload dist/*
```