From 4d3db0dfec6a8abe6a78b20fb311dda6228fd43f Mon Sep 17 00:00:00 2001 From: Lennart Regebro Date: Tue, 22 Sep 2009 17:42:15 +0200 Subject: Wrong file mode when creating bdists under Python 3.1. --HG-- branch : distribute extra : rebase_source : 3af8cc2ab10edeeeb75b03e1a63e8de008142176 --- setuptools/command/install_egg_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/install_egg_info.py') 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' -- cgit v1.2.3