Skip to content

PR #109 breaks code that needs env file in the install directory #124

@trentgerman

Description

@trentgerman

Hi all -

The newest version of dotenv has broken some of our code. At our shop we would install code in a virtual environment, in

/home/user/venv/lib/python2.7/site-packages/myrepo

and then place the .env file in

/home/user/venv/lib/python2.7/site-packages/myrepo/.env

using python-dotenv==0.8.0 fixes the issue, but I would like to find a better way forward.

I have tried running find_dotenv(usecwd=True)

and

find_dotenv(usecwd=False )

And this does not appear to fix the issue.

Is there a recommended setting that will fix this? If not I am happy to add a test to illustrate whats going on here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions