Drop setup.cfg; single-file, baby
This commit is contained in:
parent
02d18fe500
commit
dd24c5bbb9
|
@ -1,5 +1,5 @@
|
|||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
requires = ["setuptools>=65.0.0", "wheel"]
|
||||
# requires = ["setuptools", "wheel", "versioningit~=1.0.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
|
@ -14,3 +14,18 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
# [tool.versioningit.write]
|
||||
# file = "template/_version.py"
|
||||
[tool.setuptools.packages]
|
||||
find = {namespaces = false}
|
||||
[project]
|
||||
name = "template"
|
||||
description = "A Template!"
|
||||
requires-python = ">=3.9"
|
||||
|
||||
# dependencies = []
|
||||
dynamic = ["version"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pre-commit","pytest"]
|
||||
|
||||
[project.scripts]
|
||||
template = "template.cli:main"
|
||||
|
|
25
setup.cfg
25
setup.cfg
|
@ -1,25 +0,0 @@
|
|||
[metadata]
|
||||
name=template
|
||||
description="A template!"
|
||||
# author=
|
||||
# author_email =
|
||||
# url="https://tildegit.org/grym/oxo"
|
||||
|
||||
[options]
|
||||
python_requires = >=3.8
|
||||
packages=find:
|
||||
# install_requires=
|
||||
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts =
|
||||
template = template.cli:main
|
||||
|
||||
[options.extras_require]
|
||||
dev =
|
||||
# black
|
||||
# coverage
|
||||
# pytest
|
||||
# ipython
|
||||
# isort
|
||||
pre-commit
|
Loading…
Reference in New Issue