Ask Your Question
1

How to roll-back a setup.py install

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

Benoit gravatar image Benoit flag of United States
865 22 8 31

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?

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

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.

link publish delete flag offensive edit

Comments

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

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 65 times

Last updated: Dec 09 '10