Commit 3b443bc9 authored by Jason R. Coombs's avatar Jason R. Coombs

Use io.open when saving entry_points.

parent 1b2a92e9
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment