1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 20:00:01 +02:00

🐛 Move source into src/ to fix install

Installing was broken since moving to pyproject.toml, which we didn't notice because of
leftover files in build/. Fix this by using the convention of having the source files
in src/ and adjusting pyproject.toml accordingly.

Fixes gh-86. 🤞
This commit is contained in:
Mike Gerber 2023-08-03 17:29:28 +02:00
parent db7c051b22
commit 325e5af5f5
84 changed files with 2 additions and 3 deletions

View file

@ -1 +1 @@
dinglehopper/ocrd-tool.json src/dinglehopper/ocrd-tool.json

View file

@ -45,8 +45,7 @@ dependencies = {file = ["requirements.txt"]}
optional-dependencies.dev = {file = ["requirements-dev.txt"]} optional-dependencies.dev = {file = ["requirements-dev.txt"]}
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
# This is not strictly necessary, just when junk lies around. where = ["src"]
where = ["dinglehopper"]
[tool.setuptools.package-data] [tool.setuptools.package-data]
dinglehopper = ["*.json", "templates/*"] dinglehopper = ["*.json", "templates/*"]