First time here? Check out the FAQ!
1

How to roll-back a setup.py install

I don't think this is specific to askbot, but maybe people know. Is there an easy way to "roll-back" to a previous deployed askbot installation?

When I do my setup.py install, I get a new /local/usr/lib/pyshon-site/askbot-x.y.z which contains whatever version of askbot is being deployed.

The previous version is also there. If something is messed up in the new version, is there a quick way to revert to the old version?

Benoit's avatar
875
Benoit
asked 2010-12-09 15:31:02 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

There is no automatic way to undo the action of setup.py command, but it is possible to edit .pth files in the site packages directory.

Take a look at pip and virtualenv - very helpful python deployment tools.

Evgeny's avatar
13.2k
Evgeny
updated 2010-12-09 15:51:56 -0600, answered 2010-12-09 15:51:04 -0600
edit flag offensive 0 remove flag delete link

Comments

works for me! Thanks
Benoit's avatar Benoit (2010-12-10 08:46:47 -0600) edit
add a comment see more comments