Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 805 Bytes

DEVELOPMENT.rst

File metadata and controls

40 lines (27 loc) · 805 Bytes

Development Guide

Development Setup

Clone the repository and setup virtualenv:

git clone git@github.com:lalinsky/mbdata.git
cd mbdata/
virtualenv -p python3 venv
source venv/bin/activate
pip install poetry
poetry install

Updating SQL files and models

Run these scripts to update SQL files and rebuild SQLAlchemy models from them:

./scripts/update_sql.sh
./scripts/update_models.sh

Release a new version

  1. Change the version number in mbdata/__init__.py.

  2. Add notes to CHANGELOG.rst

  3. Tag the repository:

    git tag -s vX.Y.Z
    
  4. Upload the package to PyPI:

    rm -rf dist/
    python setup.py sdist
    twine upload dist/mbdata-*.tar.gz