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"])
|
PATHS["fwrite_le"] = path_join(PATHS["src_dir"], PATHS["fwrite_le"])
|
||||||
|
|
||||||
# Add `.` directory before all paths for compilation
|
# Add `.` directory before all paths for compilation
|
||||||
PATHS["template"] = path_join(".", PATHS["template"])
|
for key in ["template", "substitute", "output", "fwrite_le",
|
||||||
PATHS["substitute"] = path_join(".", PATHS["substitute"])
|
"include_directory"]:
|
||||||
PATHS["output"] = path_join(".", PATHS["output"])
|
PATHS[key] = path_join(".", PATHS[key])
|
||||||
PATHS["fwrite_le"] = path_join(".", PATHS["fwrite_le"])
|
|
||||||
PATHS["include_directory"] = path_join(".", PATHS["include_directory"])
|
|
||||||
|
|
||||||
# Default parameters
|
# Default parameters
|
||||||
DEFAULT_PARAMETERS = {
|
DEFAULT_PARAMETERS = {
|
||||||
|
Loading…
Reference in New Issue
Block a user