Skip to content

Commit

Permalink
Add a pyproject.toml to prevent problems like ionelmc/python-lazy-obj…
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Sep 26, 2019
1 parent bd28897 commit e3fef72
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions {{cookiecutter.repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[build-system]
requires = [
"setuptools>=30.3.0",
"wheel",
{%- if cookiecutter.test_runner == 'pytest' and cookiecutter.setup_py_uses_test_runner == 'yes' %}
"pytest-runner",
{%- endif %}
{%- if cookiecutter.setup_py_uses_setuptools_scm == 'yes' %}
"setuptools_scm>=3.3.1",
{%- endif %}
{%- if cookiecutter.c_extension_support == 'cython' %}
"cython",
{%- elif cookiecutter.c_extension_support == 'cffi' %}
"cffi>=1.0.0",
{%- endif %}
]

0 comments on commit e3fef72

Please sign in to comment.