-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pyproject.toml definition configured to use Poetry
This allows kiwi to be built, developed, tested, and installed through Poetry.
- Loading branch information
1 parent
bd6adef
commit db9fdcd
Showing
1 changed file
with
98 additions
and
0 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,98 @@ | ||
[tool.poetry] | ||
name = "kiwi" | ||
version = "10.0.0" | ||
description = "KIWI - Appliance Builder" | ||
license = "GPL-3.0-or-later" | ||
readme = "README.rst" | ||
homepage = "https://osinside.github.io/kiwi/" | ||
documentation = "https://osinside.github.io/kiwi/" | ||
repository = "https://github.com/OSInside/kiwi" | ||
|
||
authors = [ | ||
"Marcus Schäfer <ms@suse.com>", | ||
] | ||
maintainers = [ | ||
"Marcus Schäfer <ms@suse.com>", | ||
"David Cassany Viladomat <dcassany@suse.com>", | ||
"Neal Gompa <neal@gompa.dev>", | ||
"Dan Čermák <dcermak@suse.com>", | ||
] | ||
|
||
packages = [ | ||
{ include = "kiwi"}, | ||
] | ||
|
||
include = [ | ||
|
||
] | ||
|
||
classifiers = [ | ||
# classifier: http://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Operating System :: POSIX :: Linux", | ||
"Topic :: System :: Operating System", | ||
] | ||
|
||
[tool.poetry.urls] | ||
"Bug Tracker" = "https://github.com/OSInside/kiwi/issues" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
docopt = ">=0.6.2" | ||
lxml = ">=4.6.0" | ||
requests = ">=2.25.0" | ||
PyYAML = ">=5.4.0" | ||
simplejson = ">=3.17.0" | ||
|
||
# Optional dependencies for markup extra | ||
anymarkup-core = { version = ">=0.8.0", optional = true } | ||
xmltodict = { version = ">=0.12.0", optional = true } | ||
|
||
[tool.poetry.extras] | ||
markup = [ "anymarkup-core", "xmltodict" ] | ||
|
||
[tool.poetry.plugins] | ||
[tool.poetry.plugins."kiwi.tasks"] | ||
image_info = "kiwi.tasks.image_info" | ||
image_resize = "kiwi.tasks.image_resize" | ||
result_bundle = "kiwi.tasks.result_bundle" | ||
result_list = "kiwi.tasks.result_list" | ||
system_build = "kiwi.tasks.system_build" | ||
system_create = "kiwi.tasks.system_create" | ||
system_prepare = "kiwi.tasks.system_prepare" | ||
system_update = "kiwi.tasks.system_update" | ||
|
||
[tool.poetry.scripts] | ||
kiwi-ng = "kiwi.kiwi:main" | ||
kiwicompat = "kiwi.kiwi_compat:main" | ||
|
||
[tool.poetry.group.test] | ||
[tool.poetry.group.test.dependencies] | ||
# python unit testing framework | ||
pytest = ">=6.2.0" | ||
pytest-cov = "*" | ||
pytest-xdist = "*" | ||
pytest-container = "*" | ||
# type checking | ||
mypy = ">=0.971" | ||
types-pkg_resources = "*" | ||
types-requests = "*" | ||
types-PyYAML = "*" | ||
types-mock = "*" | ||
types-simplejson = "*" | ||
|
||
[tool.poetry.group.style] | ||
[tool.poetry.group.style.dependencies] | ||
flake8 = ">=4.0.0" | ||
|
||
[tool.poetry.group.docs] | ||
[tool.poetry.group.docs.dependencies] | ||
sphinx = ">=5.0.0" | ||
sphinx_rtd_theme = "*" | ||
sphinxcontrib-spelling = "*" | ||
pyenchant = "*" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |