-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support customizable POETRY_HOME #775
Comments
Aside, this is to make things like Travis and Docker easier to configure without a lot of custom code in each. Example of me continually guessing and messing this up is available here: Hopefully by the time you've read this I have it all functional ;) |
Yes, please. I need to run my docker app as non-root, while all packages are installed as root. Poetry is getting installed in |
My preferred option for workaround (in case someone drops by here, who cannot wait for #794 to be merged) given you already have export get_poetry="/path/to/get/poetry"
python <( sed 's/^POETRY_HOME.*=.*/POETRY_HOME = os.environ.get("POETRY_HOME") or os.path.join(HOME, ".poetry")/' "$poetry_installer" ) Note you could of course do manual equivalent (editing by hand). or you could do a hack of temporarily overriding |
#794 closes this issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It would be nice to define where poetry gets installed (via get-poetry.py).
By reading the docstring I had assumed it would work in $POETRY_HOME, but that was quickly disproven.
Ideally this could be defined via an environment variable (POETRY_HOME) or via a flag to get-poetry.py.
The text was updated successfully, but these errors were encountered: