diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-17 19:26:30 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-17 19:26:30 -0400 |
| commit | 95ca77339cdcd24fc1193b701c979e5f6fa72335 (patch) | |
| tree | b5511195f663536670684b2024ae668114a11ff2 | |
| parent | aa8f6bed2212ae82ededad4b2985cec25f8c1db9 (diff) | |
| download | python-setuptools-git-95ca77339cdcd24fc1193b701c979e5f6fa72335.tar.gz | |
Restore Python 2 compatibility.
| -rwxr-xr-x | setuptools/command/egg_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 470ba466..9019524d 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -364,7 +364,7 @@ def _write_requirements(stream, reqs): def write_requirements(cmd, basename, filename): dist = cmd.distribution - data = io.StringIO() + data = io.StringIO() if PY3 else io.BytesIO() _write_requirements(data, dist.install_requires) extras_require = dist.extras_require or {} for extra in sorted(extras_require): |
