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()}