mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-09 19:59:57 +02:00
⚙ Migrate to pyproject.toml
This commit is contained in:
parent
187da054b0
commit
ae650f70a2
41 changed files with 11 additions and 13 deletions
|
@ -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