Skip to content

Commit 1401ef3

Browse files
committed
switch from setuptools to flit
1 parent 8de58b6 commit 1401ef3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

contrib/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license=('GPL')
99
sha512sums=('SKIP')
1010
arch=('any')
1111
depends=('python' 'python-click' 'python-xdg-base-dirs')
12-
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'scdoc')
12+
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-flit-core' 'scdoc')
1313
provides=('qbpm')
1414
source=("git+https://github.com/pvsr/qbpm")
1515

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
pkgs.nixfmt-rfc-style
5454
(pyprojectEnv (
5555
ps: with ps; [
56+
flit
5657
pytest
5758
mypy
5859
pylsp-mypy

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ repository = "https://github.com/pvsr/qbpm"
2525
qbpm = "qbpm.main:main"
2626

2727
[build-system]
28-
requires = ["setuptools"]
29-
build-backend = "setuptools.build_meta"
28+
requires = ["flit_core >=3.2,<4"]
29+
build-backend = "flit_core.buildapi"
3030

3131
[tool.pytest.ini_options]
3232
pythonpath = "src"

0 commit comments

Comments
 (0)