Skip to content

Commit b062243

Browse files
authored
Merge pull request #1257 from astrojuanlu/migrate-pep-621
Migrate to PEP 621
2 parents 8eb5573 + 0e37b31 commit b062243

File tree

4 files changed

+58
-58
lines changed

4 files changed

+58
-58
lines changed

pyproject.toml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
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+
requires-python = ">=3.9"
16+
classifiers = [
17+
"Development Status :: 3 - Alpha",
18+
"Intended Audience :: Developers",
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+
license = "GPL-2.0-only"
34+
dynamic = ["version", "readme"]
35+
36+
[project.urls]
37+
homepage = "https://github.com/containers/podman-compose"
38+
39+
[project.optional-dependencies]
40+
devel = [
41+
"coverage",
42+
"parameterized",
43+
"pre-commit",
44+
"ruff",
45+
]
46+
47+
[project.scripts]
48+
podman-compose = "podman_compose:main"
49+
50+
[tool.setuptools]
51+
py-modules = ["podman_compose"]
52+
53+
[tool.setuptools.dynamic]
54+
readme = {file = ["README.md"], content-type = "text/markdown"}
55+
version = {attr = "podman_compose.__version__"}
56+
157
[tool.ruff]
258
line-length = 100
359
target-version = "py38"

scripts/make_release_upload.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env bash
22
./scripts/uninstall.sh
33
./scripts/clean_up.sh
4-
python3 setup.py register
5-
python3 setup.py sdist bdist_wheel
4+
pyproject-build
65
twine upload dist/*

setup.cfg

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
[bdist_wheel]
2-
universal = 1
3-
4-
[metadata]
5-
version = attr: podman_compose.__version__
6-
71
[flake8]
82
# The GitHub editor is 127 chars wide
93
max-line-length=127
104
# These are not being followed yet
11-
ignore=E222,E231,E272,E713,W503
5+
ignore=E222,E231,E272,E713,W503

setup.py

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

0 commit comments

Comments
 (0)