Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 742 Bytes

DEVELOPMENT.rst

File metadata and controls

39 lines (26 loc) · 742 Bytes

Development Guide

Development Setup

Clone the repository and setup virtualenv:

git clone https://github.com/acoustid/mbslave.git
cd mbslave/
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:

./scripts/update_sql.sh

Release a new version

  1. Change the version number in mbslave/__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/mbslave-*.tar.gz