mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-07-26 18:59:53 +02:00
⚙ Migrate to pyproject.toml
This commit is contained in:
parent
187da054b0
commit
ae650f70a2
41 changed files with 11 additions and 13 deletions
pyproject.toml
qurator
src/mods4pandas
.gitignorealto4pandas.pylib.pymods4pandas.pytest_alto.pytest_mets.pytest_mods4pandas.pytest_page_info.py
tests
data
alto
734008031
749782137
PPN636777308
PPN640992293
PPN715049151
PPN767883624
PPN895016346
alto-ner
weird-ns
mets-mods
|
@ -29,8 +29,8 @@ classifiers = [
|
|||
]
|
||||
|
||||
[project.scripts]
|
||||
mods4pandas="qurator.mods4pandas.mods4pandas:main"
|
||||
alto4pandas="qurator.mods4pandas.alto4pandas:main"
|
||||
mods4pandas="mods4pandas.mods4pandas:main"
|
||||
alto4pandas="mods4pandas.alto4pandas:main"
|
||||
|
||||
|
||||
[project.urls]
|
||||
|
@ -43,5 +43,4 @@ dependencies = {file = ["requirements.txt"]}
|
|||
optional-dependencies.dev = {file = ["requirements-dev.txt"]}
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["qurator"]
|
||||
where = ["src"]
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
__import__('pkg_resources').declare_namespace(__name__)
|
|
@ -1,8 +1,8 @@
|
|||
from lxml import etree as ET
|
||||
|
||||
|
||||
from qurator.mods4pandas.alto4pandas import alto_to_dict
|
||||
from qurator.mods4pandas.lib import flatten
|
||||
from mods4pandas.alto4pandas import alto_to_dict
|
||||
from mods4pandas.lib import flatten
|
||||
|
||||
|
||||
def dict_fromstring(x):
|
|
@ -1,8 +1,8 @@
|
|||
from lxml import etree as ET
|
||||
|
||||
|
||||
from qurator.mods4pandas.mods4pandas import mets_to_dict
|
||||
from qurator.mods4pandas.lib import flatten
|
||||
from mods4pandas.mods4pandas import mets_to_dict
|
||||
from mods4pandas.lib import flatten
|
||||
|
||||
|
||||
def dict_fromstring(x):
|
|
@ -2,8 +2,8 @@ from lxml import etree as ET
|
|||
import pytest
|
||||
|
||||
|
||||
from qurator.mods4pandas.mods4pandas import mods_to_dict
|
||||
from qurator.mods4pandas.lib import flatten
|
||||
from mods4pandas.mods4pandas import mods_to_dict
|
||||
from mods4pandas.lib import flatten
|
||||
|
||||
|
||||
def dict_fromstring(x):
|
|
@ -3,7 +3,7 @@ from pathlib import Path
|
|||
|
||||
from lxml import etree as ET
|
||||
|
||||
from qurator.mods4pandas.mods4pandas import pages_to_dict
|
||||
from mods4pandas.mods4pandas import pages_to_dict
|
||||
|
||||
|
||||
TESTS_DATA_DIR = Path(__file__).parent / "data"
|
Loading…
Add table
Add a link
Reference in a new issue