Commit 16666484 authored by Jason R. Coombs's avatar Jason R. Coombs

Merge with 3.7.1 (Ref #213)

parents 0d688c04 18c255d1
......@@ -5,13 +5,12 @@ Create a distribution's .egg-info directory and contents"""
import os
import re
import sys
import io
from setuptools import Command
import distutils.errors
from distutils import log
from setuptools.command.sdist import sdist
from setuptools.compat import basestring, PY3, unicode
from setuptools.compat import basestring, PY3, StringIO
from setuptools import svn_utils
from distutils.util import convert_path
from distutils.filelist import FileList as _FileList
......@@ -364,7 +363,7 @@ def _write_requirements(stream, reqs):
def write_requirements(cmd, basename, filename):
dist = cmd.distribution
data = io.StringIO() if PY3 else io.BytesIO()
data = StringIO()
_write_requirements(data, dist.install_requires)
extras_require = dist.extras_require or {}
for extra in sorted(extras_require):
......
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