Ask Your Question
1

How to roll-back a setup.py install

asked 2010-12-09 15:31:02 -0500

Benoit's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2010-12-09 15:51:04 -0500

Evgeny's avatar

updated 2010-12-09 15:51:56 -0500

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.

edit flag offensive delete link more

Comments

works for me! Thanks
Benoit's avatar Benoit  ( 2010-12-10 08:46:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-12-09 15:31:02 -0500

Seen: 229 times

Last updated: Dec 09 '10