From 73a6a65ba049b78700534e05f25cb67af597edf1 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Nakazone Batista Date: Sun, 18 Feb 2024 12:18:30 -0300 Subject: [PATCH] Fixes Setup Script - File Directory --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 838c60c..1769c86 100644 --- a/setup.py +++ b/setup.py @@ -9,6 +9,7 @@ import os def write_template(template: str, output: str): + os.makedirs(os.path.dirname(output), exist_ok=True) with open(template, 'r') as template,\ open(output, 'w') as output: output.write(envsubst(template.read()))