Change to pyproject.toml

This commit is contained in:
Alexander Wainwright 2024-03-16 22:04:50 +10:00
parent e7079c2e17
commit 73432de483
3 changed files with 19 additions and 25 deletions

View 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"]