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()))