Skip to content

Commit a0ceea4

Browse files
committed
switch to higher version of python lektor and setuptools
1 parent 74f0e88 commit a0ceea4

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

.python-version

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
3.9
2-
1+
3.12

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
[project]
22
name = "c-base-org-lektor"
3-
version = "0.1.0"
3+
version = "1.0.0"
44
description = "A c-base.org based in the lektor static site generator."
5-
authors = [{ name = "Uwe Kamper", email = "[email protected]" }]
5+
authors = [{ name = "Uwe Kamper", email = "[email protected]" }]
66
requires-python = ">=3.9"
77
license = "MIT"
88
dependencies = [
99
"setuptools >=78.1.0, <79",
10-
"lektor >=3.3.7, <4",
10+
"Lektor >=3.3.12, <4",
1111
]
1212

13+
# Needed for `uv pip install .` to work without a real Python package
14+
[tool.setuptools]
15+
py-modules = []
16+
1317
[dependency-groups]
1418
dev = [
1519
"pytest >=7.2.1, <8",

shell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ pkgs.mkShell {
44

55
packages = [
66
pkgs.python312
7-
pkgs.poetry
7+
pkgs.uv
88
pkgs.git
99
];
1010

1111
shellHook = ''
12-
poetry install --no-root
12+
uv pip install .
1313
source .venv/bin/activate
1414
'';
1515
}

uv.lock

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)