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
PermissionError attempting to install coverage on Windows #64
Comments
@mgedmin suggests the following:
|
Yes, this could work (looking at the error message). What bugs me though is that coverage doesn't have any "old-style distutils scripts", it uses console_script entrypoints. So why is there an EGG-INFO/scripts directory? The check for that scripts/ directory in the EGG-INFO dir was suggested to me a couple of years ago as the most sure-fire way to find distutils scripts. I tried it locally (not on windows) and the scripts directory doesn't exist when I Could you take a look to see if there's something else in that scripts dir apart from |
I've got a pull request open that fixes this: #67 |
Fix for #64: __pycache__ dir inside distutils scripts metadata directory
0.6.36 ------ * Pull Request #35: In `Buildout issue 64 <https://github.com/buildout/buildout/issues/64>`_, it was reported that under Python 3, installation of distutils scripts could attempt to copy the ``__pycache__`` directory as a file, causing an error, apparently only under Windows. Easy_install now skips all directories when processing metadata scripts.
0.6.36 ------ * Pull Request #35: In `Buildout issue 64 <https://github.com/buildout/buildout/issues/64>`_, it was reported that under Python 3, installation of distutils scripts could attempt to copy the ``__pycache__`` directory as a file, causing an error, apparently only under Windows. Easy_install now skips all directories when processing metadata scripts.
0.6.36 ------ * Pull Request #35: In `Buildout issue 64 <https://github.com/buildout/buildout/issues/64>`_, it was reported that under Python 3, installation of distutils scripts could attempt to copy the ``__pycache__`` directory as a file, causing an error, apparently only under Windows. Easy_install now skips all directories when processing metadata scripts.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
The text was updated successfully, but these errors were encountered: