Skip to content
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

Use pipenv #49

Open
sephii opened this issue Aug 28, 2018 · 1 comment
Open

Use pipenv #49

sephii opened this issue Aug 28, 2018 · 1 comment

Comments

@sephii
Copy link
Contributor

sephii commented Aug 28, 2018

And remove code that loads variables from envdir and use python-decouple to handle environment-specific settings: https://pypi.org/project/python-decouple/. This should also fix #23.

@simonbru
Copy link
Contributor

simonbru commented Sep 3, 2018

Should we also use python-decouple to load variables in the fabfile ?

By the way, I tried activating the virtualenv from .bashrc by sourcing the activate script and it seems to work: simonbru/drifter@67e6e4b. Environments variables are not loaded when activating the virtualenv this way, but this may not be an issue if we load them ourselves with python-decouple.

Do you remember which issues you encountered when trying a similar approach ?

EDIT: Using python-decouple in fabfile is probably overkill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants