Revert "setup: add workaround for pypa/pip#7953."

This reverts commit b1f5664b05.
This commit is contained in:
Catherine 2021-12-16 15:00:21 +00:00
parent 55756e9568
commit 22c7453783

View file

@ -1,10 +1,6 @@
from setuptools import setup, find_packages
# TODO: Remove when https://github.com/pypa/pip/issues/7953 is resolved
import site, sys; site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
def scm_version():
def local_scheme(version):
if version.tag and not version.distance: