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

Breaks python-dotenv #50

Open
stuaxo opened this issue May 18, 2022 · 3 comments
Open

Breaks python-dotenv #50

stuaxo opened this issue May 18, 2022 · 3 comments

Comments

@stuaxo
Copy link

stuaxo commented May 18, 2022

This package interferes with python-dotenv.

if you have a project that uses python-dotenv, but have already installed this it will break.

This is because this project uses "dotenv.py" in the root folder of site-packages, but the other tool uses a package.

Suggestion: move the file into it's own package, e.g. django_dotenv and consider renaming it.

@woutervh
Copy link

woutervh commented Jun 2, 2023

A lof of django-packages make this diabolical mistake.
Diabolical because just pip-installing such a package will actually erase the source-code of another package,
and pip will not even complain.

When you have a python-project named "foo-something", "foo-something" is unique on pypi,
the associated import-modulename is "foo_something" is then also unique.

Python-dotenv as a package makes actually the same mistake.

@stuaxo
Copy link
Author

stuaxo commented Jun 3, 2023

Yep, python-dotenv Vs dotenv is a big one.
I think python-dotenv is the more recent / supported of those two, but I've hit it a lot.

@woutervh
Copy link

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