Commit 27d24b0e authored by Reinout van Rees's avatar Reinout van Rees

Don't attempt to read .exe files. Fixes #279

parent 28292163
......@@ -904,6 +904,8 @@ def _detect_distutils_scripts(directory):
marker = 'EASY-INSTALL-DEV-SCRIPT'
scripts_found = []
for filename in dir_contents:
if filename.endswith('.exe'):
continue
filepath = os.path.join(directory, filename)
if not os.path.isfile(filepath):
continue
......
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