This commit is contained in:
onyx-and-iris 2023-08-28 05:17:54 +01:00
parent e964c94d07
commit 1498daf36f

View File

@ -201,14 +201,14 @@ def rewrite_menu():
def prepare_for_build(): def prepare_for_build():
################# MOVE FILES FROM PACKAGE DIR INTO SRC DIR ######################### ################# MOVE FILES FROM PACKAGE DIR INTO SRC DIR #########################
for path in ( for file in (
Path(PACKAGE_DIR) / "app.py", PACKAGE_DIR / "app.py",
Path(PACKAGE_DIR) / "builders.py", PACKAGE_DIR / "builders.py",
Path(PACKAGE_DIR) / "menu.py", PACKAGE_DIR / "menu.py",
): ):
if path.exists(): if file.exists():
logger.debug(f"moving {str(path)}") logger.debug(f"moving {str(file)}")
path.rename(SRC_DIR / f"{path.stem}.bk") file.rename(SRC_DIR / f"{file.stem}.bk")
###################### RUN THE FILE REWRITER FOR EACH *.BK ######################### ###################### RUN THE FILE REWRITER FOR EACH *.BK #########################
steps = ( steps = (