I am using distutil
to install my python code using
python setup.py install
I run into problems when I want to install an older branch of my code over a new one:
setup.py install
won't overwrite older files. A work around is touching (touch <filename>
) all files so they are forced to be newer than those installed, but this is pretty ugly.
What I am looking for is an option to force overwriting of all files, eg. something like
python setup.py --force install
Any Ideas?