Skip to content
Prev Previous commit
Next Next commit
Fix the env variable check
  • Loading branch information
AntoniaSzecsi committed Jul 29, 2025
commit ada7759ac8139fe7033aacfaad639bb9013cd7cc
4 changes: 3 additions & 1 deletion scripts/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def clean():
def build():
print("Building package")
env = os.environ.copy()
env["BUILD"] = "true"
if os.getenv("BUILD") == "true":
env["BUILD"] = "true"
run([sys.executable, "setup.py", "sdist", "bdist_wheel"], env=env)


Expand All @@ -70,6 +71,7 @@ def main():
"format": format_code,
"clean": clean,
"build": build,

}

command_map[args.command]()
Expand Down