hof.py: keine alten .pyc mit alten Spec-Namen in der Welt
This commit is contained in:
@@ -174,6 +174,8 @@ def kopiere_grundstock():
|
||||
for n in ("lauf.py", "klonlauf.py"): # der Lauf und der Beweis der Naht
|
||||
kopiere(os.path.join(WURZEL, "tests", n), os.path.join(HOF, "tests", n))
|
||||
kopiere(os.path.join(WURZEL, "tests", "wache", "sitecustomize.py"), os.path.join(HOF, "tests", "wache", "sitecustomize.py"))
|
||||
shutil.rmtree(os.path.join(HOF, "tests", "__pycache__"), ignore_errors=True)
|
||||
# sonst liegen .pyc mit alten Dateinamen herum
|
||||
for d in ("sicht/scratch", "scratch"): # Arbeitsordner; entstehen sonst erst zur Laufzeit
|
||||
os.makedirs(os.path.join(HOF, d), exist_ok=True)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user