I am coding my own whl-package and after creating some new management-commands and deleting some old ones I was pretty happy with myself. Except after building my wheel-package (with setup.py bdist_wheel
) and installing it on my test server (with pip install -U project-2.0b3-py2.py3-none-any.whl
), I noticed that the help of manage.py
still show the old commands. It will even try to run the old commands, so there is some old stuff there, but I was not quite sure why or how.
I tried uninstalling instead of upgrading with pip uninstall project
and listing installed packages with pip freeze
to make sure it was all gone. Even tried to run the old commands, which would correctly fail when the package was not installed.
Where do these old commands come from?
--all
option:python setup.py clean --all bdist_wheel
. I haveall=1
in setup conf of my project template, thus often forgetting to include it in commands. – Vasiliu