add prompt for continuum data versioning; add dep if set

This commit is contained in:
Lance Edgar 2026-01-04 21:11:35 -06:00
parent 19a64021df
commit 62da74bf1c
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,7 @@
"package_name": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}", "package_name": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
"repo_name": "{{ cookiecutter.package_name }}", "repo_name": "{{ cookiecutter.package_name }}",
"project_short_description": "My web app", "project_short_description": "My web app",
"continuum_data_versioning": false,
"open_source_license": ["MIT license", "BSD license", "ISC license", "Apache Software License 2.0", "GNU General Public License v3", "Not open source"], "open_source_license": ["MIT license", "BSD license", "ISC license", "Apache Software License 2.0", "GNU General Public License v3", "Not open source"],
"__egg_name": "{{ cookiecutter.distribution_name.replace('-', '-') }}", "__egg_name": "{{ cookiecutter.distribution_name.replace('-', '-') }}",
"__studly_prefix": "{{ cookiecutter.project_name.replace(' ', '').replace('-', '') }}" "__studly_prefix": "{{ cookiecutter.project_name.replace(' ', '').replace('-', '') }}"

View file

@ -22,7 +22,11 @@ classifiers = [
license = {text = "{{cookiecutter.open_source_license}}"} license = {text = "{{cookiecutter.open_source_license}}"}
dependencies = [ dependencies = [
"psycopg2", "psycopg2",
{% if cookiecutter.continuum_data_versioning %}
"WuttaWeb[continuum]",
{% else %}
"WuttaWeb", "WuttaWeb",
{% endif %}
] ]
[project.scripts] [project.scripts]