Revert "setup: add workaround for pypa/pip#7953."
This reverts commit b1f5664b05
.
This commit is contained in:
parent
55756e9568
commit
22c7453783
4
setup.py
4
setup.py
|
@ -1,10 +1,6 @@
|
||||||
from setuptools import setup, find_packages
|
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 scm_version():
|
||||||
def local_scheme(version):
|
def local_scheme(version):
|
||||||
if version.tag and not version.distance:
|
if version.tag and not version.distance:
|
||||||
|
|
Loading…
Reference in a new issue