b/c...py: optimize adding .
before paths
This commit is contained in:
parent
162e6b880c
commit
9be6408890
@ -26,11 +26,9 @@ PATHS["output"] = path_join(PATHS["build_dir"], PATHS["output"])
|
||||
PATHS["fwrite_le"] = path_join(PATHS["src_dir"], PATHS["fwrite_le"])
|
||||
|
||||
# Add `.` directory before all paths for compilation
|
||||
PATHS["template"] = path_join(".", PATHS["template"])
|
||||
PATHS["substitute"] = path_join(".", PATHS["substitute"])
|
||||
PATHS["output"] = path_join(".", PATHS["output"])
|
||||
PATHS["fwrite_le"] = path_join(".", PATHS["fwrite_le"])
|
||||
PATHS["include_directory"] = path_join(".", PATHS["include_directory"])
|
||||
for key in ["template", "substitute", "output", "fwrite_le",
|
||||
"include_directory"]:
|
||||
PATHS[key] = path_join(".", PATHS[key])
|
||||
|
||||
# Default parameters
|
||||
DEFAULT_PARAMETERS = {
|
||||
|
Loading…
Reference in New Issue
Block a user