Change to pyproject.toml
This commit is contained in:
parent
e7079c2e17
commit
73432de483
3 changed files with 19 additions and 25 deletions
19
{{cookiecutter.package_name}}/pyproject.toml
Normal file
19
{{cookiecutter.package_name}}/pyproject.toml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=40.9.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "{{ cookiecutter.package_name }}"
|
||||
version = "{{ cookiecutter.package_version }}"
|
||||
description = "{{ cookiecutter.package_description }}"
|
||||
authors = [{name = "{{ cookiecutter.author_name }}", email = "{{ cookiecutter.author_email }}"}]
|
||||
license = {text = "GPL-3.0"}
|
||||
dependencies = []
|
||||
requires-python = ">=3.6"
|
||||
|
||||
[project.scripts]
|
||||
{{cookiecutter.package_name}} = "{{cookiecutter.package_name}}.main:main"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue