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
EntryPoint and entrypoint with different casing disrupts uninstallation. #4771
Comments
I wonder if I should have posted this in the setuptools repo? |
This should, maybe, not be allowed since on a case insensitive system, you can't actually install both of these scripts. I'll defer that decision to someone else though. Also, #3801 is sorta related to this. |
For what it's worth, pip will use wheels to install directories in the future... Could you try the following and provide the output? pip install --upgrade wheel setuptools pip
python setup.py bdist_wheel
pip install dist/*.whl
pip uninstall flowcal |
Yes, but ultimately I think the goal here is that if someone types the same two commands on linux and windows, then they will both work. Ultimately, pip should fail if the two commands point to different entry points if it's going to fail at all (though I don't see a way to avoid failure if in fact that is the case). |
From my pov, I don't really care if I can make both commands work. I just don't want pip to be installing something it cannot uninstall. Expect the wheel output soon. |
@xoviat Checked. Same problem occurs when uninstalling, even when I bdist_wheel and install the wheel. pip, setuptools, and wheels all upgraded to newest, doesn't solve problem. |
I am going to close this, given the lack of activity on this issue -- I reckon that this has been resolved at some point. |
Description:
Having entrypoints that are the same words but in different case in setup.py makes package impossible to uninstall.
What I've done
Setup.py:
Commandline:
The text was updated successfully, but these errors were encountered: