⚙ Migrate to pyproject.toml

master
Mike Gerber 5 months ago
parent 187da054b0
commit ae650f70a2

@ -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…
Cancel
Save