Update installation process
Due to the deprecation warnings when trying to install the app
EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
we need to find a suitable replacement.
So far the found replacement could be:
-
python setup.py install
->pip install .
-
python setup.py develop
->pip install -e .
Some sources for more information:
- https://packaging.python.org/en/latest/tutorials/installing-packages/#use-pip-for-installing
- https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
We can also take inspiration from https://github.com/pypa/pipenv. They add support for automatic uploading of the package to the PyPI.
We should also add the requirements to the setup.