summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index f718d3d4..ce716b0e 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -373,7 +373,7 @@ Please make the appropriate changes for your system and try again.
for script_name in dist.metadata_listdir('scripts'):
self.install_script(
dist, script_name,
- dist.get_metadata('scripts/'+script_name).replace('\r','\n')
+ '\n'.join(dist.get_metadata('scripts/'+script_name).splitlines())
)
self.install_wrapper_scripts(dist)