⚙ Migrate to pyproject.toml

master
Mike Gerber 5 months ago
parent 187da054b0
commit ae650f70a2

@ -29,8 +29,8 @@ classifiers = [
] ]
[project.scripts] [project.scripts]
mods4pandas="qurator.mods4pandas.mods4pandas:main" mods4pandas="mods4pandas.mods4pandas:main"
alto4pandas="qurator.mods4pandas.alto4pandas:main" alto4pandas="mods4pandas.alto4pandas:main"
[project.urls] [project.urls]
@ -43,5 +43,4 @@ 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]
where = ["."] where = ["src"]
include = ["qurator"]

@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)

@ -1,8 +1,8 @@
from lxml import etree as ET from lxml import etree as ET
from qurator.mods4pandas.alto4pandas import alto_to_dict from mods4pandas.alto4pandas import alto_to_dict
from qurator.mods4pandas.lib import flatten from mods4pandas.lib import flatten
def dict_fromstring(x): def dict_fromstring(x):

@ -1,8 +1,8 @@
from lxml import etree as ET from lxml import etree as ET
from qurator.mods4pandas.mods4pandas import mets_to_dict from mods4pandas.mods4pandas import mets_to_dict
from qurator.mods4pandas.lib import flatten from mods4pandas.lib import flatten
def dict_fromstring(x): def dict_fromstring(x):

@ -2,8 +2,8 @@ from lxml import etree as ET
import pytest import pytest
from qurator.mods4pandas.mods4pandas import mods_to_dict from mods4pandas.mods4pandas import mods_to_dict
from qurator.mods4pandas.lib import flatten from mods4pandas.lib import flatten
def dict_fromstring(x): def dict_fromstring(x):

@ -3,7 +3,7 @@ from pathlib import Path
from lxml import etree as ET 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" TESTS_DATA_DIR = Path(__file__).parent / "data"
Loading…
Cancel
Save