updated setup.py

This commit is contained in:
Jaikinator
2023-07-07 12:57:47 +02:00
parent 22b5b28f21
commit abd733b2ae
+3
View File
@@ -15,10 +15,13 @@ version = {"__file__": verfile}
with open(verfile, "r") as fp: with open(verfile, "r") as fp:
exec(fp.read(), version) exec(fp.read(), version)
############### setup ############### ############### setup ###############
build_version = "AUTOTRANSCRIPT_BUILD" in os.environ build_version = "AUTOTRANSCRIPT_BUILD" in os.environ
if __name__ == "__main__":
setup( setup(
name=module_name, name=module_name,
version=version["get_version"](build_version), version=version["get_version"](build_version),