-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8af3af6
commit 51d31a8
Showing
3 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_nicholsdiversity" | ||
dependencies = ["cldfbench[glottolog]"] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest-cldf"] | ||
|
||
[project.entry-points."cldfbench.dataset"] | ||
nicholsdiversity = "cldfbench_nicholsdiversity:Dataset" | ||
|
||
[tool.setuptools] | ||
py-modules = ["cldfbench_nicholsdiversity"] | ||
include-package-data = true | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["test.py"] | ||
addopts = "--cldf-metadata=cldf/cldf-metadata.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
from setuptools import setup | ||
|
||
|
||
setup( | ||
name='cldfbench_nicholsdiversity', | ||
py_modules=['cldfbench_nicholsdiversity'], | ||
include_package_data=True, | ||
zip_safe=False, | ||
entry_points={ | ||
'cldfbench.dataset': [ | ||
'nicholsdiversity=cldfbench_nicholsdiversity:Dataset', | ||
] | ||
}, | ||
install_requires=[ | ||
'cldfbench[glottolog]', | ||
], | ||
extras_require={ | ||
'test': [ | ||
'pytest-cldf', | ||
], | ||
}, | ||
) | ||
setup() |