Clone the repository and setup virtualenv:
git clone [email protected]:lalinsky/mbdata.git cd mbdata/ virtualenv -p python3 venv source venv/bin/activate pip install poetry poetry install
Run these scripts to update SQL files and rebuild SQLAlchemy models from them:
./scripts/update_sql.sh ./scripts/update_models.sh
Change the version number in
mbdata/__init__.py
.Add notes to
CHANGELOG.rst
Tag the repository:
git tag -s vX.Y.Z
Upload the package to PyPI:
rm -rf dist/ python setup.py sdist twine upload dist/mbdata-*.tar.gz