HomeElementl

Adds new-repo template files as package_data.

Description

Adds new-repo template files as package_data.

Summary:
When running dagster new-repo, Jinja2 does not load any template files because the template files' directory was not included as package_data in dagster/setup.py. Because of this, running dagster new-repo simply generates an empty folder.

This change adds the template files' directory dagster/generate/new_repo/ to package_data. Tests are also added to ensure that additional subfolders are generated.

Test Plan: buildkite

Reviewers: catherinewu, rexledesma, sidkmenon

Reviewed By: rexledesma

Differential Revision: https://dagster.phacility.com/D6536

Details

Provenance
bobAuthored on Feb 17 2021, 4:20 PM
Reviewer
rexledesma
Differential Revision
D6536: Adds new-repo template files as package_data.
Parents
R1:fa4930765ad5: black error
Branches
Unknown
Tags
Unknown