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
bdist_wininst doesn't clean up read-only files in build dir #39262
Comments
Using Windows XP SP1, Python 2.3, Win32Extensions I recently added some data_files to my setup script as setup( ..., data_files = [ ( 'files', ['file.txt'] ) ] ) and when I ran my setup script with the build removing 'build\bdist.win32\wininst' (and everything The error is followed by more errors attempting to The reason permission is denied is because the file is Regardless of the reason for a file being marked RO, the I'm not sure what is the best way to approach this |
Logged In: YES Do other distutils commands suffer the same problem cleaning The other potential problem is that people may actually want So I too am unsure what the "correct" thing to do is. |
Logged In: YES The sdist command, for example, has the same problem - so For distutils, the remove_tree() function could grow a |
I understand from the experts list that tarek is no longer maintaining distutils but I can't change the "assigned to" field. As a matter of interest there are another 67 issues with tarek assigned. |
The distutils bdist_wininst command has been removed in Python 3.10: see bpo-42802. |
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: