aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.py')
-rw-r--r--bootstrap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 24d7093c..f3a12c07 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -9,6 +9,7 @@ import os
import sys
import textwrap
import subprocess
+import io
minimal_egg_info = textwrap.dedent("""
@@ -41,7 +42,7 @@ def build_egg_info():
"""
os.mkdir('setuptools.egg-info')
- with open('setuptools.egg-info/entry_points.txt', 'w') as ep:
+ with io.open('setuptools.egg-info/entry_points.txt', 'w') as ep:
ep.write(minimal_egg_info)