forked from ansible-community/ansible-bender
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: attempt to modernise build
First attempt at fixing issue ansible-community#290.
- Loading branch information
1 parent
17c4d34
commit 54252c8
Showing
3 changed files
with
63 additions
and
62 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,63 @@ | ||
[project] | ||
name = "ansible-bender" | ||
authors = [ | ||
{name = "Tomas Tomecek", email = "tomas@tomecek.net"}, | ||
] | ||
description = "A tool which builds container images using Ansible playbooks" | ||
readme = "README.md" | ||
requires-python = ">= 3.6" | ||
keywords = [ | ||
"ansible", | ||
"containers", | ||
"linux", | ||
"buildah", | ||
] | ||
license = {text = "MIT"} | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Software Development", | ||
"Topic :: Utilities", | ||
] | ||
dependencies = [ | ||
"PyYAML", | ||
"tabulate", | ||
"jsonschema", | ||
"setuptools", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/ansible-community/ansible-bender" | ||
documentation = "https://ansible-community.github.io/ansible-bender/build/html/index.html" | ||
|
||
[project.optional-dependencies] | ||
testing = [ | ||
"pytest", | ||
"flexmock", | ||
"pytest-cov", | ||
] | ||
|
||
[project.scripts] | ||
ansible-bender = "ansible_bender.cli:main" | ||
|
||
# reference for usage: | ||
# https://github.com/pypa/setuptools_scm/#pyprojecttoml-usage | ||
[tool.setuptools_scm] | ||
|
||
# references for minimum version selection: | ||
# setuptools: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html | ||
# setuptools-scm: https://github.com/pypa/setuptools_scm/#pyprojecttoml-usage | ||
[build-system] | ||
requires = ["setuptools>=61", "setuptools-scm[toml]>=6.2", "wheel"] | ||
build-backend = "setuptools.build_meta" |
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,63 +1,8 @@ | ||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[metadata] | ||
name = ansible-bender | ||
url = https://github.com/ansible-community/ansible-bender | ||
description = A tool which builds container images using Ansible playbooks | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
author = Tomas Tomecek | ||
author_email = tomas@tomecek.net | ||
license = MIT | ||
license_file = LICENSE | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
Operating System :: POSIX :: Linux | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
Topic :: Software Development | ||
Topic :: Utilities | ||
keywords = | ||
ansible | ||
containers | ||
linux | ||
buildah | ||
|
||
|
||
[options] | ||
python_requires = >=3.6 | ||
packages = find: | ||
include_package_data = True | ||
|
||
setup_requires = | ||
setuptools_scm | ||
|
||
install_requires = | ||
PyYAML | ||
tabulate | ||
jsonschema | ||
setuptools | ||
|
||
[options.packages.find] | ||
exclude = | ||
tests | ||
tests.* | ||
|
||
[options.extras_require] | ||
testing = | ||
pytest | ||
flexmock | ||
pytest-cov | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
ansible-bender = ansible_bender.cli:main |