Created
November 6, 2012 12:50
-
-
Save frankwiles/4024500 to your computer and use it in GitHub Desktop.
Rebuild a broken Python virtualenv on heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Execute these commands in order to rebuild a virtualenv from scratch | |
$ heroku labs:enable user-env-compile | |
$ heroku config:set CLEAN_VIRTUALENV=yes | |
$ heroku config:set VIRTUALENV_DIRS=.heroku/venv | |
$ git push heroku master | |
$ heroku config:unset CLEAN_VIRTUALENV | |
$ heroku config:unset VIRTUALENV_DIRS | |
$ heroku labs:disable user-env-compile | |
# These last three commands undo the setting so your VENVs aren't rebuilt from scratch on every single deploy, just the ones you want. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This doesn't appear to work, line 3 errors with
No such feature: user-env-compile