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
Case mismatch between "include" and "Include" #85835
Comments
On Windows, However, the actual installation path is I believe the reason for the case mismatch is in this code in PC/layout/main.py:
The case mismatch is relevant for case sensitive filesystems. In my case, I was extracting a Windows Python install on Linux and then using the Case only renames can be a bit wonky to perform. I would suggest preserving what is shipped today and changing Note that Windows will not allow you to have a file/directory varying only in case. i.e. you can have both an "include" and "Include." I can't recall if you can perform a case-only rename with a single system call (meaning it is atomic) or whether you need to go through a temporary directory. |
Unfortunately, it's easier to change what we distribute, except that has _always_ been "include" (based on a 2.4 installer I had laying around). And of course we can't change the repo. Still, case sensitivity is becoming more acceptable on Windows and there are more ways to enable it, so we're probably best to deal with this. For 3.10, we can update PC/layout/main.py and tools/msi/common.wxs#L80 to create "Include", and we probably want to go over the few places where we may reference it to make sure the case is consistent. (Noting that distutils is fully deprecated in 3.10, so it doesn't matter.) I'm not sure that it qualifies as enough of a bugfix for 3.8 or 3.9.1, so I think we'll leave them alone. A case-sensitive file system can easily support a symlink/junction from "Include" to "include" anyway, which is a pretty straightforward workaround ;) |
Is this the same as bpo-24908 ? |
Is this still relevant? |
Nothing has been changed, so I suppose so. Incidentally, there's also a change required to Tools\msi\common.wxs which is where the directory is named for the regular installer. Fixing the layout script should cover the other distribution packages. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: