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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Benoit's avatar
875
Benoit
asked 14 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
link

Comments

works for me! Thanks
Benoit's avatar Benoit (14 years ago)
see more comments