|
|
|
|
@ -639,10 +639,10 @@ def get_bdist_wheel():
|
|
|
|
|
if found:
|
|
|
|
|
lis.pop(idx)
|
|
|
|
|
|
|
|
|
|
for pkg in ("readline", "pyreadline"):
|
|
|
|
|
for pkg in ("gnureadline", "pyreadline"):
|
|
|
|
|
_remove_startswith(requires, pkg)
|
|
|
|
|
requires.append("readline; sys.platform == 'darwin'")
|
|
|
|
|
requires.append("pyreadline (>=2.0); sys.platform == 'win32'")
|
|
|
|
|
requires.append("gnureadline; sys.platform == 'darwin' and platform.python_implementation == 'CPython'")
|
|
|
|
|
requires.append("pyreadline (>=2.0); sys.platform == 'win32' and platform.python_implementation == 'CPython'")
|
|
|
|
|
for r in requires:
|
|
|
|
|
pkg_info['Requires-Dist'] = r
|
|
|
|
|
write_pkg_info(metadata_path, pkg_info)
|
|
|
|
|
|