From 937e5a89af68ef3b0566c50b1b46baf5b3ce293a Mon Sep 17 00:00:00 2001 From: Arne Meyer Date: Mon, 23 Nov 2020 20:34:17 +0100 Subject: [PATCH] fix user install issue --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9ccf6f2c..d2eed4ca 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,9 @@ import subprocess import sys +# fix user install issue +import site +site.ENABLE_USER_SITE = "--user" in sys.argv[1:] # declare defaults IS_RASPI = False @@ -141,4 +144,4 @@ def get_version(rel_path): "Topic :: Scientific/Engineering" ], python_requires="==3.7.*" -) \ No newline at end of file +)