Skip to content

Commit f8d05ba

Browse files
committed
Migrate to PEP 621
Signed-off-by: Juan Luis Cano Rodríguez <hello@juanlu.space>
1 parent 8eb5573 commit f8d05ba

File tree

3 files changed

+59
-53
lines changed

3 files changed

+59
-53
lines changed

pyproject.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
[build-system]
2+
build-backend = "setuptools.build_meta"
3+
requires = ["setuptools"]
4+
5+
[project]
6+
name = "podman-compose"
7+
authors = [
8+
{ email = "alsadi@gmail.com", name = "Muayyad Alsadi" },
9+
]
10+
description = "A script to run docker-compose.yml using podman"
11+
dependencies = [
12+
"python-dotenv",
13+
"pyyaml",
14+
]
15+
classifiers = [
16+
"Development Status :: 3 - Alpha",
17+
"Intended Audience :: Developers",
18+
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
27+
"Topic :: Software Development :: Build Tools",
28+
]
29+
keywords = [
30+
"podman",
31+
"podman-compose",
32+
]
33+
dynamic = ["version", "readme"]
34+
35+
[project.urls]
36+
homepage = "https://github.com/containers/podman-compose"
37+
38+
[project.license]
39+
text = "GPL-2.0-only"
40+
41+
[project.optional-dependencies]
42+
devel = [
43+
"coverage",
44+
"parameterized",
45+
"pre-commit",
46+
"ruff",
47+
]
48+
49+
[project.scripts]
50+
podman-compose = "podman_compose:main"
51+
52+
[tool.setuptools]
53+
py-modules = ["podman_compose"]
54+
55+
[tool.setuptools.dynamic]
56+
readme = {file = ["README.md"], content-type = "text/markdown"}
57+
version = {attr = "podman_compose.__version__"}
58+
159
[tool.ruff]
260
line-length = 100
361
target-version = "py38"

setup.cfg

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
[bdist_wheel]
22
universal = 1
33

4-
[metadata]
5-
version = attr: podman_compose.__version__
6-
74
[flake8]
85
# The GitHub editor is 127 chars wide
96
max-line-length=127
107
# These are not being followed yet
11-
ignore=E222,E231,E272,E713,W503
8+
ignore=E222,E231,E272,E713,W503

setup.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)