diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..1310132 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,34 @@ +[build-system] +requires = [ + "setuptools>=61.2", + "setuptools-scm", +] +build-backend = "setuptools.build_meta" + +[project] +name = "zbmath_rest2oai" +description = "convert from custom api to oai-pmh api" +dynamic = ["version"] + +[project.optional-dependencies] +test = [ + "black", + "flake8", + "isort", + "pytest", + "radon", + "flake8_polyfill", + "coverage", + "requests_mock", + "python-dateutil", + "pytest-coverage", +] + +[tool.setuptools] +package-dir = {"" = "src"} +include-package-data = true +zip-safe = false + +[tool.setuptools.packages.find] +where = ["src"] +namespaces = false diff --git a/requirements.txt b/requirements.txt index 9c558e3..e69de29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +0,0 @@ -. diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 736c2a2..0000000 --- a/setup.cfg +++ /dev/null @@ -1,27 +0,0 @@ -[metadata] -name = zbmath_rest2oai -description = convert from custom api to oai-pmh api - -[options] -setup_requires = setuptools-scm -package_dir = - = src -packages = find: -include_package_data = true -zip_safe = false - -[options.extras_require] -test = - black - flake8 - isort - pytest - radon - flake8_polyfill - coverage - requests_mock - python-dateutil - pytest-coverage - -[options.packages.find] -where = src