diff --git a/cookiecutter.json b/cookiecutter.json index 7866f19..465fc57 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -8,6 +8,7 @@ "author_name": "CERN", "author_email": "info@{{ cookiecutter.project_site }}", "year": "{% now 'local', '%Y' %}", + "python_version": ["3.6", "3.7", "3.8", "3.9"], "copyright_holder": "{{ cookiecutter.author_name }}", "transifex_project": "{{ cookiecutter.project_shortname }}", "database": ["postgresql", "mysql"], diff --git a/{{cookiecutter.project_shortname}}/Pipfile b/{{cookiecutter.project_shortname}}/Pipfile index b1755df..b730c2e 100644 --- a/{{cookiecutter.project_shortname}}/Pipfile +++ b/{{cookiecutter.project_shortname}}/Pipfile @@ -11,6 +11,9 @@ uwsgi = ">=2.0" uwsgi-tools = ">=1.1.1" uwsgitop = ">=0.11" +[requires] +python_version = "{{ cookiecutter.python_version.split()[0] }}" + [dev-packages] pytest-invenio = ">=1.4.1,<1.5.0" Sphinx = ">=3.0.0,<4"