django-dotenv
django-dotenv copied to clipboard
Breaks python-dotenv
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.
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.
- https://pypi.org/project/dotenv/
- https://pypi.org/project/django-dotenv/
- https://pypi.org/project/python-dotenv/
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.
see also https://forum.djangoproject.com/t/change-reusable-apps-naming-recommendation/25233