Revert "setup: add workaround for pypa/pip#7953."
authorCatherine <whitequark@whitequark.org>
Thu, 16 Dec 2021 15:00:21 +0000 (15:00 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 20:37:18 +0000 (20:37 +0000)
This reverts commit b1f5664b05725676cafa6c9313096c6fba0a47be.

setup.py

index a99297c70a6ea2e46365076c048035a5a6147f5c..70862845178c6052490183eb366ba4043ed5ac6d 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -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: