diff --git a/pythondistdeps.py b/pythondistdeps.py index 8756fdf..b8143b8 100755 --- a/pythondistdeps.py +++ b/pythondistdeps.py @@ -128,10 +128,6 @@ for f in files: warn("Version for {!r} has not been found".format(dist), RuntimeWarning) continue - # XXX: https://github.com/pypa/setuptools/pull/1275 - import platform - platform.python_version = lambda: dist.py_version - # This is the PEP 503 normalized name. # It does also convert dots to dashes, unlike dist.key. # In the current code, we only add additional provides with this.