From 18bbd1d32a70267f67493a5be6c6ce29edd8e5dc Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Tue, 5 Jan 2021 04:32:15 +0000 Subject: [PATCH] fix editable install --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fea0a6cb..c12c9c9b 100644 --- a/setup.py +++ b/setup.py @@ -222,7 +222,7 @@ def check_constants(): # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ log.info("hardware mu-maps have been located") -build_ver = ".".join(__version__.split('.')[:3]) +build_ver = ".".join(__version__.split('.')[:3]).split(".dev")[0] cmake_args = [f"-DNIPET_BUILD_VERSION={build_ver}", f"-DPython3_ROOT_DIR={sys.prefix}"] try: nvcc_arches = {"{2:d}{3:d}".format(*i) for i in dinf.gpuinfo()}