-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
setup.cfg: entry_points keys are made lowercase #1937
Comments
This does look like a bug. I'll start by replicating your finding. I'll fork the project and add the prescribed changes to the fork and then determine how it doesn't work (how it fails). |
I created the repro as jaraco/doit-plugin-sample@setuptools/1937.
With that, I'm able to demonstrate how the doit plugin works when running under the HEAD of the repo (7f56bc5):
And fails when running under the fork version:
|
Note, I'm using pip-run to quickly facilitate swapping out different versions of |
The problem can be more easily elicited with just the plugin by trying to load the plugin directly:
|
I believe it would be best if Setuptools could honor the case of the entry points as indicated in |
I'll take this on :) |
This breaks when the entry point is actually case-sensitive.
git clone https://github.com/pydoit/doit-plugin-sample
pip install .
inside a venv.Inspecting
venv/*/site-packages/doit_plugin_sample-0.0.0.dist-info/entry_points.txt
:This will not work, as the entry point is
doit.COMMAND
.The text was updated successfully, but these errors were encountered: