Skip to content

Commit dfd697c

Browse files
authored
Merge pull request #533 from libris/feature/lxl-4675-prepare-for-uv
Add uv project
2 parents d2fa8a9 + 34c2287 commit dfd697c

5 files changed

Lines changed: 275 additions & 2 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# Local App Config
1414
/.venv
1515
/venv
16-
.python-version
1716

1817
# Common OS, Tool and Editor Files
1918
.*.sw*

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pypy-3.11

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ data used by the National Library of Sweden.
66

77
## Dependencies
88

9-
Requires Python 3.7+. (Use PyPy for a general speed improvement.)
9+
Requires Python 3.9+. (Use PyPy for a general speed improvement.)
10+
11+
If you have [uv](https://github.com/astral-sh/uv) installed, just prepend
12+
`uv run` to the commands under "Usage" and skip the following. Otherwise:
1013

1114
Preferably set up a virtualenv:
1215

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[project]
2+
name = "definitions"
3+
version = "0.1.0" # This is currently a fixed dummy version.
4+
readme = "README.md"
5+
requires-python = ">=3.9"
6+
dependencies = [
7+
"markdown==3.7",
8+
"pyrdfa3==3.5.3",
9+
"rdflib==6.1.1",
10+
"requests==2.32.3",
11+
"setuptools==70.0.0",
12+
]

0 commit comments

Comments
 (0)