aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install_egg_info.py
diff options
context:
space:
mode:
authorLennart Regebro <regebro@gmail.com>2009-09-22 17:42:15 +0200
committerLennart Regebro <regebro@gmail.com>2009-09-22 17:42:15 +0200
commit4d3db0dfec6a8abe6a78b20fb311dda6228fd43f (patch)
treebc0c204a2d12e71243d291c4c5498635de228585 /setuptools/command/install_egg_info.py
parent1502d7426ed56d8235426db13e6cda4f4609f8a4 (diff)
downloadexternal_python_setuptools-4d3db0dfec6a8abe6a78b20fb311dda6228fd43f.tar.gz
external_python_setuptools-4d3db0dfec6a8abe6a78b20fb311dda6228fd43f.tar.bz2
external_python_setuptools-4d3db0dfec6a8abe6a78b20fb311dda6228fd43f.zip
Wrong file mode when creating bdists under Python 3.1.
--HG-- branch : distribute extra : rebase_source : 3af8cc2ab10edeeeb75b03e1a63e8de008142176
Diffstat (limited to 'setuptools/command/install_egg_info.py')
-rwxr-xr-xsetuptools/command/install_egg_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/install_egg_info.py b/setuptools/command/install_egg_info.py
index 00c81221..dd95552e 100755
--- a/setuptools/command/install_egg_info.py
+++ b/setuptools/command/install_egg_info.py
@@ -87,7 +87,7 @@ class install_egg_info(Command):
filename += '-nspkg.pth'; self.outputs.append(filename)
log.info("Installing %s",filename)
if not self.dry_run:
- f = open(filename,'wb')
+ f = open(filename,'wt')
for pkg in nsp:
pth = tuple(pkg.split('.'))
trailer = '\n'