Skip to content

Commit

Permalink
Merge pull request #15 from lexibank/fix-metadata
Browse files Browse the repository at this point in the history
Fix metadata
  • Loading branch information
FredericBlum authored Aug 12, 2024
2 parents fe079a6 + fab4cd0 commit b441b44
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 17 deletions.
4 changes: 2 additions & 2 deletions cldf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ property | value
[dc:identifier](http://purl.org/dc/terms/identifier) | https://doi.org/10.1093/jole/lzad004
[dc:license](http://purl.org/dc/terms/license) | https://creativecommons.org/licenses/by/4.0/
[dcat:accessURL](http://www.w3.org/ns/dcat#accessURL) | https://github.com/lexibank/mixtecansubgrouping
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/lexibank/mixtecansubgrouping/tree/c01b8d8">lexibank/mixtecansubgrouping v0.1-6-gc01b8d8</a></li><li><a href="https://github.com/glottolog/glottolog/tree/v5.0">Glottolog v5.0</a></li><li><a href="https://github.com/concepticon/concepticon-data/tree/v3.2.0">Concepticon v3.2.0</a></li><li><a href="https://github.com/cldf-clts/clts/tree/v2.3.0">CLTS v2.3.0</a></li></ol>
[prov:wasGeneratedBy](http://www.w3.org/ns/prov#wasGeneratedBy) | <ol><li><strong>lingpy-rcParams</strong>: <a href="./lingpy-rcParams.json">lingpy-rcParams.json</a></li><li><strong>python</strong>: 3.9.6</li><li><strong>python-packages</strong>: <a href="./requirements.txt">requirements.txt</a></li></ol>
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/lexibank/mixtecansubgrouping/tree/v0.2">lexibank/mixtecansubgrouping v0.2</a></li><li><a href="https://github.com/glottolog/glottolog/tree/v5.0">Glottolog v5.0</a></li><li><a href="https://github.com/concepticon/concepticon-data/tree/v3.2.0">Concepticon v3.2.0</a></li><li><a href="https://github.com/cldf-clts/clts/tree/v2.3.0">CLTS v2.3.0</a></li></ol>
[prov:wasGeneratedBy](http://www.w3.org/ns/prov#wasGeneratedBy) | <ol><li><strong>lingpy-rcParams</strong>: <a href="./lingpy-rcParams.json">lingpy-rcParams.json</a></li><li><strong>python</strong>: 3.12.4</li><li><strong>python-packages</strong>: <a href="./requirements.txt">requirements.txt</a></li></ol>
[rdf:ID](http://www.w3.org/1999/02/22-rdf-syntax-ns#ID) | mixtecansubgrouping
[rdf:type](http://www.w3.org/1999/02/22-rdf-syntax-ns#type) | http://www.w3.org/ns/dcat#Distribution

Expand Down
4 changes: 2 additions & 2 deletions cldf/cldf-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"rdf:about": "https://github.com/lexibank/mixtecansubgrouping",
"rdf:type": "prov:Entity",
"dc:created": "v0.1-6-gc01b8d8",
"dc:created": "v0.2",
"dc:title": "Repository"
},
{
Expand Down Expand Up @@ -46,7 +46,7 @@
},
{
"dc:title": "python",
"dc:description": "3.9.6"
"dc:description": "3.12.4"
},
{
"dc:title": "python-packages",
Expand Down
4 changes: 2 additions & 2 deletions cldf/lingpy-rcParams.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
10,
10
],
"filename": "lingpy-2024-08-08",
"filename": "lingpy-2024-08-10",
"gap_symbol": "-",
"gap_weight": 0.5,
"gop": -2,
Expand Down Expand Up @@ -123,7 +123,7 @@
"scorer": {},
"sonar": true,
"stress": "\u02c8\u02cc'",
"timestamp": "2024-08-08 12:14",
"timestamp": "2024-08-10 20:35",
"tones": "\u00b9\u00b2\u00b3\u2074\u2075\u2076\u2077\u2078\u2079\u2070\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u20800123456789\u02e5\u02e6\u02e7\u02e8\u02e9\u02ea\u02eb-\ua708-\ua709-\ua70a-\ua70b-\ua70c-\ua70d-\ua70e-\ua70f-\ua710-\ua711-\ua712-\ua713-\ua714-\ua715-\ua716-\ua717-\ua718-\ua719-\ua71a-\ua700-\ua701-\ua702-\ua703-\ua704-\ua705-\ua706-\ua707",
"tree_calc": "neighbor",
"unique_sequences": true,
Expand Down
21 changes: 10 additions & 11 deletions cldf/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appdirs==1.4.4
arrow==1.3.0
attrs==24.2.0
Babel==2.15.0
babel==2.16.0
bibtexparser==2.0.0b7
bs4==0.0.2
certifi==2024.7.4
Expand All @@ -16,28 +16,27 @@ colorlog==6.8.2
commonnexus==1.9.2
csvw==3.3.0
cycler==0.12.1
exceptiongroup==1.2.2
gitdb==4.0.11
greenlet==3.0.3
idna==3.7
importlib_resources==6.4.0
iniconfig==2.0.0
isodate==0.6.1
Jinja2==3.1.4
jmespath==1.0.1
jsonschema==4.23.0
kiwisolver==1.4.5
-e git+https://github.com/lexibank/mixtecansubgrouping.git@c01b8d8656057531253903639a16e3b9d5bf7052#egg=lexibank_mixtecansubgrouping
-e git+https://github.com/lexibank/mixtecansubgrouping.git@fe079a6234b4caec1e5929fb35b7051f3e657af4#egg=lexibank_mixtecansubgrouping
lingpy==2.6.13
loguru==0.7.2
lxml==5.2.2
lxml==5.3.0
Markdown==3.6
MarkupSafe==2.1.5
matplotlib==3.9.1.post1
multipledispatch==1.0.0
nameparser==1.1.3
networkx==3.2.1
networkx==3.3
newick==1.9.0
numpy==2.0.1
numpy==2.0.0
openpyxl==3.1.5
packaging==24.1
pandas==2.2.2
Expand All @@ -59,9 +58,10 @@ pytz==2024.1
rdflib==7.0.0
referencing==0.35.1
regex==2024.7.24
reportlab==4.2.2
requests==2.32.3
rfc3986==1.5.0
scipy==1.13.1
scipy==1.14.0
segments==2.2.1
six==1.16.0
smmap==5.0.1
Expand All @@ -70,10 +70,9 @@ SQLAlchemy==1.4.53
tabulate==0.9.0
termcolor==2.4.0
toyplot==1.0.3
toytree==3.0.4
toytree==3.0.5
tqdm==4.66.5
uritemplate==4.1.1
urllib3==2.2.2
xlrd==2.0.1
zenodoclient==0.5.1
zipp==3.19.2
zenodoclient==0.5.1
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
from setuptools import setup, find_packages
import json


with open("metadata.json", encoding="utf-8") as fp:
metadata = json.load(fp)


setup(
name='lexibank_mixtecansubgrouping',
description=metadata["title"],
py_modules=['lexibank_mixtecansubgrouping'],
license=metadata.get("license", ""),
url=metadata.get("url", ""),
include_package_data=True,
packages=find_packages(where="."),
zip_safe=False,
Expand Down

0 comments on commit b441b44

Please sign in to comment.