depend
A dependency analysis tool for various languages and package managers.
Local Development / Testing
- Create and activate a virtual environment
- Run
pip install -r requirements-dev.txt
to do an editable install - Run
pytest
to run tests
pytest-watch --runner='coverage run --rcfile=.coveragerc.local -m pytest --testmon' \
--onfail="notify-send --urgency=low -i error 'Tests Failed'" \
--onpass="coverage html --skip-covered"
terminal-notifier -message
Type Checking
Run mypy .
Create and upload a package to PyPI
Make sure to bump the version in setup.cfg
.
Then run the following commands:
rm -rf build dist
python setup.py sdist bdist_wheel
Then upload it to PyPI using twine:
twine upload dist/*