Skip to content

Commit

Permalink
set up pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
johenglisch committed Aug 27, 2024
1 parent 171b255 commit 7ddaf6b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 25 deletions.
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "cldfbench_sinnemakizeromarking"
dependencies = ["cldfbench[glottolog]", "pyyaml"]
dynamic = ["version"]

[project.optional-dependencies]
test = ["pytest-cldf"]

[project.entry-points."cldfbench.dataset"]
sinnemakizeromarking = "cldfbench_sinnemakizeromarking:Dataset"

[tool.setuptools]
py-modules = ["cldfbench_sinnemakizeromarking"]
include-package-data = true

[tool.pytest.ini_options]
testpaths = ["test.py"]
addopts = "--cldf-metadata=cldf/cldf-metadata.json"
4 changes: 0 additions & 4 deletions setup.cfg

This file was deleted.

22 changes: 1 addition & 21 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
from setuptools import setup


setup(
name='cldfbench_sinnemakizeromarking',
py_modules=['cldfbench_sinnemakizeromarking'],
include_package_data=True,
zip_safe=False,
entry_points={
'cldfbench.dataset': [
'sinnemakizeromarking=cldfbench_sinnemakizeromarking:Dataset',
]
},
install_requires=[
'cldfbench[glottolog]',
'pyyaml',
],
extras_require={
'test': [
'pytest-cldf',
],
},
)
setup()

0 comments on commit 7ddaf6b

Please sign in to comment.