python-rpm-spec
python-rpm-spec copied to clipboard
pyrpm name already exist
When the code contain "from pyrpm...", some IDE (PyCharm for example) will install and import "pyrpm". Seems legit, but it will actually install https://pypi.org/project/pyrpm/
It could be possible to document, add some kind of warning, or change the name.
Hey there! oO you are absolutely right. Didn't notice that before.
@BrunoVernay this is not the library's issue. Python packages are not restricted to match pypi name and the actual package name. IDE should (and mine does) install dependencies into the dev environment using project's manifest, using package names for imports to pass it into pip install ...
directly is just wrong.
@bkircher, I think this issue can be closed, because it's unrelated to the library.
At least, keep it open, that could help others to understand the issue.
"... using package names for imports to pass it into pip install ...
directly is just" ... to be expected: https://peps.python.org/pep-0423/#use-a-single-name
At least, keep it open, that could help others to understand the issue.
Agree. Let's keep this open. Maybe it's also worth adding a note to the README to reduce confusion.