Refactor packaging configuration files
A topic that has been around for a while is the way we build pypi packages.
We used setup.py
on a lot of packages. A alternative way to build packages can be achieved with pyproject.toml
.
... However, python setup.py and the use of setup.py as a command line tool are deprecated. ...
There are a lot of depricated commands that should be replaced (install, develop, sdist, bdist_wheel)
While it is not technically necessary yet, it is STRONGLY RECOMMENDED Even tho a pyproject.toml is not mandatory. It's highly recommended.
Should setup.py be deleted? How to modernize a setup.py based project?
No, setup.py can exist in a modern Setuptools based project.
Django Security
python manage.py check --deploy
django sonar