Skip to content

Commit e8f3f91

Browse files
committed
add build deps
1 parent 1d949b2 commit e8f3f91

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ jobs:
3434
env:
3535
POETRY_VIRTUALENVS_CREATE: false
3636
steps:
37-
- uses: actions/checkout@v3
38-
- uses: actions/setup-python@v4
37+
- uses: actions/checkout@v4
38+
- uses: actions/setup-python@v5
3939
with:
4040
python-version: ${{ matrix.python-version }}
41-
- run: pip install poetry
42-
- run: poetry install
41+
- run: pip install -e '.[dev]'
4342
- run: poetry build --format wheel
4443
- name: Make sure tests use dist instead of source
4544
run: |

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
name = "django-object-actions"
37
version = "4.3.0"
48
description = "A Django app for adding object tools for models in the admin"
59
authors = [{ name = "crccheck", email = "c@crccheck.com" }]
610
license = { text = "Apache-2.0" }
711
readme = "README.md"
8-
# repository = "https://github.com/crccheck/django-object-actions"
912
keywords = ["django", "admin"]
1013
classifiers = [
1114
"Development Status :: 5 - Production/Stable",
@@ -21,6 +24,9 @@ classifiers = [
2124
"Programming Language :: Python :: 3.13",
2225
]
2326

27+
[project.urls]
28+
"Homepage" = "https://github.com/crccheck/django-object-actions"
29+
2430
[project.optional-dependencies]
2531
dev = [
2632
"coverage==7.*",
@@ -29,14 +35,15 @@ dev = [
2935
"dj-database-url==2.*",
3036
"ruff",
3137
]
38+
build = ["build", "twine"]
3239

3340
[tool.setuptools]
3441
packages = ["django_object_actions"]
3542

3643
[tool.semantic_release]
3744
version_toml = ["pyproject.toml:project.version"]
3845
version_variables = ["django_object_actions/__init__.py:__version__"]
39-
build_command = "pip build"
46+
build_command = "python -m build"
4047

4148
[tool.coverage.run]
4249
source = ["django_object_actions"]

0 commit comments

Comments
 (0)