diff --git a/MANIFEST.in b/MANIFEST.in index 3fbd6e1..c4ec8f1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,7 @@ include cimgen/languages/cpp/templates/*.mustache include cimgen/languages/java/templates/*.mustache +include cimgen/languages/java/*.java +include cimgen/languages/java/**/*.java include cimgen/languages/javascript/templates/*.mustache include cimgen/languages/modernpython/templates/*.mustache include cimgen/languages/python/templates/*.mustache diff --git a/cimgen/languages/java/lang_pack.py b/cimgen/languages/java/lang_pack.py index 0923a46..396bfdf 100644 --- a/cimgen/languages/java/lang_pack.py +++ b/cimgen/languages/java/lang_pack.py @@ -69,7 +69,6 @@ def run_template(output_path, class_details): def _write_templated_file(class_file, class_details, template_filename): - class_file.parent.mkdir(parents=True, exist_ok=True) with class_file.open("w", encoding="utf-8") as file: templates = files("cimgen.languages.java.templates") with templates.joinpath(template_filename).open(encoding="utf-8") as f: