Reputation: 4377
I need some suggestion on my python setuptools deployment flows. Here is my current workflow.
After step 4, usually import python module would point to the newest package, but I realize the older version of the same package still exists in dist-package/ I wonder how do we only keep the latest version of my package installed via setup.py?
Upvotes: 0
Views: 523
Reputation: 25197
pip
uninstalls previous version when upgrading a package. Instead of running ./setup.py
directly, ask users to use
pip install --upgrade .
Upvotes: 1