Package installation with pip
the way umami is currently packaged and installed is being deprecated e.g. shown when running the setup
/usr/local/lib/python3.8/dist-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
instead of
python setup.py install
it is now recommended to use pip as e.g. described here
setup.py command | New command |
---|---|
setup.py sdist setup.py bdist_wheel
|
python -m build (with build) |
setup.py test |
pytest (usually via tox or nox) |
setup.py install |
pip install |
setup.py develop |
pip install -e |
setup.py upload |
twine upload (with twine) |
setup.py check |
twine check (this doesn't do all the same checks but it's a start) |
Custom commands | tox and nox environments. |