Commit 767dcea0 authored by Jason R. Coombs's avatar Jason R. Coombs

Use unicode literals

parent 377e4b4f
...@@ -5,6 +5,8 @@ environment by creating a minimal egg-info directory and then invoking the ...@@ -5,6 +5,8 @@ environment by creating a minimal egg-info directory and then invoking the
egg-info command to flesh out the egg-info directory. egg-info command to flesh out the egg-info directory.
""" """
from __future__ import unicode_literals
import os import os
import io import io
import re import re
...@@ -47,7 +49,8 @@ def build_egg_info(): ...@@ -47,7 +49,8 @@ def build_egg_info():
""" """
os.mkdir('setuptools.egg-info') os.mkdir('setuptools.egg-info')
with open('setuptools.egg-info/entry_points.txt', 'w') as ep: filename = 'setuptools.egg-info/entry_points.txt'
with io.open(filename, 'w', encoding='utf-8') as ep:
ep.write(minimal_egg_info) 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