mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-13 23:38:38 +02:00
Migrate to PEP 621
Signed-off-by: Juan Luis Cano Rodríguez <hello@juanlu.space>
This commit is contained in:
@ -1,3 +1,61 @@
|
|||||||
|
[build-system]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
requires = ["setuptools"]
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "podman-compose"
|
||||||
|
authors = [
|
||||||
|
{ email = "alsadi@gmail.com", name = "Muayyad Alsadi" },
|
||||||
|
]
|
||||||
|
description = "A script to run docker-compose.yml using podman"
|
||||||
|
dependencies = [
|
||||||
|
"python-dotenv",
|
||||||
|
"pyyaml",
|
||||||
|
]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
|
"Topic :: Software Development :: Build Tools",
|
||||||
|
]
|
||||||
|
keywords = [
|
||||||
|
"podman",
|
||||||
|
"podman-compose",
|
||||||
|
]
|
||||||
|
dynamic = ["version", "readme"]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
homepage = "https://github.com/containers/podman-compose"
|
||||||
|
|
||||||
|
[project.license]
|
||||||
|
text = "GPL-2.0-only"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
devel = [
|
||||||
|
"coverage",
|
||||||
|
"parameterized",
|
||||||
|
"pre-commit",
|
||||||
|
"ruff",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
podman-compose = "podman_compose:main"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
py-modules = ["podman_compose"]
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic]
|
||||||
|
readme = {file = ["README.md"], content-type = "text/markdown"}
|
||||||
|
version = {attr = "podman_compose.__version__"}
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
target-version = "py38"
|
target-version = "py38"
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
[bdist_wheel]
|
[bdist_wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
||||||
[metadata]
|
|
||||||
version = attr: podman_compose.__version__
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# The GitHub editor is 127 chars wide
|
# The GitHub editor is 127 chars wide
|
||||||
max-line-length=127
|
max-line-length=127
|
||||||
|
49
setup.py
49
setup.py
@ -1,49 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
try:
|
|
||||||
README = open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8").read()
|
|
||||||
except: # noqa: E722 # pylint: disable=bare-except
|
|
||||||
README = ""
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="podman-compose",
|
|
||||||
description="A script to run docker-compose.yml using podman",
|
|
||||||
long_description=README,
|
|
||||||
long_description_content_type="text/markdown",
|
|
||||||
classifiers=[
|
|
||||||
"Programming Language :: Python",
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
|
||||||
"Programming Language :: Python :: 3.12",
|
|
||||||
"Programming Language :: Python :: 3.13",
|
|
||||||
"Intended Audience :: Developers",
|
|
||||||
"Operating System :: OS Independent",
|
|
||||||
"Development Status :: 3 - Alpha",
|
|
||||||
"Topic :: Software Development :: Build Tools",
|
|
||||||
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
|
|
||||||
],
|
|
||||||
keywords="podman, podman-compose",
|
|
||||||
author="Muayyad Alsadi",
|
|
||||||
author_email="alsadi@gmail.com",
|
|
||||||
url="https://github.com/containers/podman-compose",
|
|
||||||
py_modules=["podman_compose"],
|
|
||||||
entry_points={"console_scripts": ["podman-compose = podman_compose:main"]},
|
|
||||||
include_package_data=True,
|
|
||||||
license="GPL-2.0-only",
|
|
||||||
install_requires=[
|
|
||||||
"pyyaml",
|
|
||||||
"python-dotenv",
|
|
||||||
],
|
|
||||||
extras_require={"devel": ["ruff", "pre-commit", "coverage", "parameterized"]},
|
|
||||||
# test_suite='tests',
|
|
||||||
# tests_require=[
|
|
||||||
# 'coverage',
|
|
||||||
# 'tox',
|
|
||||||
# ]
|
|
||||||
)
|
|
Reference in New Issue
Block a user