Commit 463e07e6 authored by Jason R. Coombs's avatar Jason R. Coombs

Update release notes and comment to provide a bit more detail about the issue...

Update release notes and comment to provide a bit more detail about the issue and to be more consistent with the solution.

--HG--
branch : distribute
extra : rebase_source : c813a29e831f266d427d4a4bce3da97f475a8eee
parent 86a22eb8
......@@ -2,12 +2,16 @@
CHANGES
=======
------------
Next version
------------
------
0.6.36
------
- Fix for distutils scripts installation on Python 3, related to
``__pycache__`` directories.
* 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.35
......
......@@ -523,8 +523,9 @@ Please make the appropriate changes for your system and try again.
if not self.exclude_scripts and dist.metadata_isdir('scripts'):
for script_name in dist.metadata_listdir('scripts'):
if dist.metadata_isdir('scripts/' + script_name):
# Probably Python 3 __pycache__ directory.
continue
# The "script" is a directory, likely a Python 3
# __pycache__ directory, so skip it.
continue
self.install_script(
dist, script_name,
dist.get_metadata('scripts/'+script_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment