Option to purge and recreate virtualenv #47

Merged
merged 1 commit into from Jun 1, 2012

Conversation

Projects
None yet
3 participants
Contributor

ojno commented Jun 1, 2012

With the user_env_compile option letting us pass environment into buildpacks, I added a CLEAN_VIRTUALENV option which deletes the cached virtualenv and recreates it afresh. I found this really useful when trying to trim down the size of my slug.

This pull request passes (merged d6fbb29 into 9d0bf98).

Contributor

kennethreitz commented Jun 1, 2012

Thanks!

I have plans to provide this mechanism in other ways, but this will do for now ;)

@kennethreitz kennethreitz added a commit that referenced this pull request Jun 1, 2012

@kennethreitz kennethreitz Merge pull request #47 from ojno/master
Option to purge and recreate virtualenv
bccec5c

@kennethreitz kennethreitz merged commit bccec5c into heroku:master Jun 1, 2012

Contributor

ojno commented Jun 1, 2012

Yeah, the whole config-option-in-an-env-var is kind of a hack, but it
works. :)

Are you planning to give some way to pass command line options to
buildpacks? That would enable a lot of useful features like this.

On 1 June 2012 21:20, Kenneth Reitz <
reply@reply.github.com

wrote:

Thanks!

I have plans to provide this mechanism in other ways, but this will do for
now ;)


Reply to this email directly or view it on GitHub:

#47 (comment)

@bionikspoon bionikspoon pushed a commit to bionikspoon/annotation-tool-heroku-buildpack-python that referenced this pull request Mar 5, 2016

@zeke zeke rebuild, then install. fixes #47 d839024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment