Skip to content

Commit

Permalink
Merged in davidoff/setuptools (pull request pypa#56)
Browse files Browse the repository at this point in the history
Script files to be copied in the develop command should be open in binary mode. Fixes pypa#210.
  • Loading branch information
jaraco committed Jun 1, 2014
2 parents 0d688c0 + e302e04 commit addb989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/command/develop.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def install_egg_scripts(self, dist):
for script_name in self.distribution.scripts or []:
script_path = os.path.abspath(convert_path(script_name))
script_name = os.path.basename(script_path)
f = open(script_path,'rU')
f = open(script_path,'rb')
script_text = f.read()
f.close()
self.install_script(dist, script_name, script_text, script_path)
Expand Down

0 comments on commit addb989

Please sign in to comment.