Skip to content

Commit

Permalink
Added python version to cookiecutter
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo committed Feb 25, 2022
1 parent 55645e9 commit f7db391
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
3 changes: 3 additions & 0 deletions {{cookiecutter.project_shortname}}/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f7db391

Please sign in to comment.