-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to pyproject.toml format for setup
- Loading branch information
1 parent
47471a6
commit 5c3d670
Showing
4 changed files
with
37 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
prune tests | ||
prune .github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "kubernetes-validate" | ||
authors = [ | ||
{name = "Will Thames", email = "[email protected]"}, | ||
] | ||
description = "validates kubernetes resource definitions against schemas" | ||
requires-python = ">=3.7" | ||
keywords = ["kubernetes", "schema", "validate", "validator"] | ||
license = {text = "Apache"} | ||
dependencies = [ | ||
"PyYAML", | ||
'jsonschema', | ||
] | ||
dynamic = ["version", "readme"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/willthames/kubernetes-validate" | ||
|
||
[project.scripts] | ||
kubernetes-validate = "kubernetes_validate.__main__:main" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "kubernetes_validate.version.__version__"} | ||
readme = {file = ["README.md"], content-type = "text/markdown"} | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools.package-data] | ||
"*" = ['kubernetes-json-schema/*-local/*.json', 'kubernetes-json-schema/*-local-strict/*.json'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.27.0' | ||
__version__ = '1.27.1rc1' |