remove unneeded code

This commit is contained in:
Florian Förster 2025-04-17 11:57:25 +02:00
parent 4072b97012
commit 1447752970

View File

@ -1,22 +0,0 @@
# import multiprocessing
# import os
# import sys
# from pathlib import Path
# os.environ["JOBLIB_DISABLE_SHARED_MEMORY"] = "1"
# interpreter = r"A:\Arbeitsaufgaben\Delta-Barth\cs-wrapper\dopt.DeltaBarth\python\python.exe"
# intp_pth = Path(interpreter).resolve()
# assert intp_pth.exists(), f"interpreter path seems not to exist: {intp_pth}"
# multiprocessing.set_executable(str(intp_pth))
# setattr(sys, "frozen", True) # !! causes termination
# sys.executable = str(intp_pth)
# setattr(sys, "executable", str(intp_pth))
# setattr(sys, "_base_executable", str(intp_pth))
# multiprocessing.set_start_method("spawn", force=True)
# target = Path(r"A:\Arbeitsaufgaben\Delta-Barth\cs-wrapper\dopt.DeltaBarth")
# file = target / "executed.txt"
# file.touch()