diff options
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 0d72f758..ba98fa13 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -522,6 +522,9 @@ Please make the appropriate changes for your system and try again. """Write all the scripts for `dist`, unless scripts are excluded""" 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 self.install_script( dist, script_name, dist.get_metadata('scripts/'+script_name) |