projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f44e3
)
setup: add workaround for pypa/pip#7953.
author
Irides
<irides@irides.network>
Tue, 14 Dec 2021 14:56:58 +0000
(08:56 -0600)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 31 Dec 2021 20:36:34 +0000
(20:36 +0000)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 70862845178c6052490183eb366ba4043ed5ac6d..a99297c70a6ea2e46365076c048035a5a6147f5c 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-1,6
+1,10
@@
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: