-
Install Python dependencies.
pip install --editable '.[dev]'
-
Run migro
migro --help
-
Install
migro
in edit mode inside a dbt project.pip install -e ~/Projects/migro
-
Build a distribution wheel.
python setup.py bdist_wheel
-
Install the wheel in a dbt project and test the changes.
pip install ~/Projects/migro/dist/migro-0.x.y-py3-none-any.whl --force-reinstall
-
Add a pypi.org API token to
~/.pypirc
-
Bump the version number in
setup.py
-
Build a distribution wheel.
python setup.py bdist_wheel
-
Upload the new version.
twine upload dist/*
-
Install pip tools
pip install pip-tools
-
Update the dependencies in pyproject and setup.py.
-
Compile the requirements file.
pip-compile -o requirements.txt pyproject.toml
-
Compile the dev requirements file.
pip-compile --extra dev -o dev-requirements.txt pyproject.toml