Show single-file package example
This commit is contained in:
parent
dd24c5bbb9
commit
f2755e9823
|
@ -13,7 +13,7 @@ repos:
|
|||
- id: check-added-large-files
|
||||
args: [--maxkb=5120] # 2 MB
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.12b0
|
||||
rev: 22.10.0
|
||||
hooks:
|
||||
- id: black
|
||||
name: Formatting
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=65.0.0", "wheel"]
|
||||
# requires = ["setuptools", "wheel", "versioningit~=1.0.0"]
|
||||
# requires = ["setuptools>=65.0.0", "wheel", "versioningit~=2.1.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
# [tool.versioningit]
|
||||
|
@ -14,8 +14,6 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
# [tool.versioningit.write]
|
||||
# file = "template/_version.py"
|
||||
[tool.setuptools.packages]
|
||||
find = {namespaces = false}
|
||||
[project]
|
||||
name = "template"
|
||||
description = "A Template!"
|
||||
|
@ -28,4 +26,4 @@ dynamic = ["version"]
|
|||
dev = ["pre-commit","pytest"]
|
||||
|
||||
[project.scripts]
|
||||
template = "template.cli:main"
|
||||
template = "template:main"
|
||||
|
|
Loading…
Reference in New Issue