Skip to content

Commit

Permalink
Update setup and prepare for v0.2.5 (#63)
Browse files Browse the repository at this point in the history
* Update setup and prepare for v0.2.5

* Set version to v0.2.5
* Add python 3.9 classifier
* Increase upper `stanza` pin to `<1.3.0`
* Add entry points for all common languages for stanza and spacy v2.x

* Sync requirements.txt
  • Loading branch information
adrianeboyd authored Mar 2, 2021
1 parent e1c3f57 commit 2128d5c
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spacy>=2.1.0,<3.0.0
stanza>=1.0.0,<1.2.0
stanza>=1.0.0,<1.3.0
# Development dependencies
pytest>=4.0.0,<5.0.0
53 changes: 51 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,65 @@ def setup_package():
version=about["__version__"],
license=about["__license__"],
packages=find_packages(),
install_requires=["spacy>=2.1.0,<3.0.0", "stanza>=1.0.0,<1.2.0"],
install_requires=["spacy>=2.1.0,<3.0.0", "stanza>=1.0.0,<1.3.0"],
python_requires=">=3.6",
entry_points={"spacy_languages": ["stanza_en = spacy_stanza:StanzaLanguage"]},
entry_points={
"spacy_languages": [
"stanza_af = spacy_stanza:StanzaLanguage",
"stanza_ar = spacy_stanza:StanzaLanguage",
"stanza_bg = spacy_stanza:StanzaLanguage",
"stanza_ca = spacy_stanza:StanzaLanguage",
"stanza_cs = spacy_stanza:StanzaLanguage",
"stanza_da = spacy_stanza:StanzaLanguage",
"stanza_de = spacy_stanza:StanzaLanguage",
"stanza_el = spacy_stanza:StanzaLanguage",
"stanza_en = spacy_stanza:StanzaLanguage",
"stanza_es = spacy_stanza:StanzaLanguage",
"stanza_et = spacy_stanza:StanzaLanguage",
"stanza_eu = spacy_stanza:StanzaLanguage",
"stanza_fa = spacy_stanza:StanzaLanguage",
"stanza_fi = spacy_stanza:StanzaLanguage",
"stanza_fr = spacy_stanza:StanzaLanguage",
"stanza_ga = spacy_stanza:StanzaLanguage",
"stanza_he = spacy_stanza:StanzaLanguage",
"stanza_hi = spacy_stanza:StanzaLanguage",
"stanza_hr = spacy_stanza:StanzaLanguage",
"stanza_hu = spacy_stanza:StanzaLanguage",
"stanza_hy = spacy_stanza:StanzaLanguage",
"stanza_id = spacy_stanza:StanzaLanguage",
"stanza_it = spacy_stanza:StanzaLanguage",
"stanza_ja = spacy_stanza:StanzaLanguage",
"stanza_ko = spacy_stanza:StanzaLanguage",
"stanza_lt = spacy_stanza:StanzaLanguage",
"stanza_lv = spacy_stanza:StanzaLanguage",
"stanza_mr = spacy_stanza:StanzaLanguage",
"stanza_nb = spacy_stanza:StanzaLanguage",
"stanza_nl = spacy_stanza:StanzaLanguage",
"stanza_pl = spacy_stanza:StanzaLanguage",
"stanza_pt = spacy_stanza:StanzaLanguage",
"stanza_ro = spacy_stanza:StanzaLanguage",
"stanza_ru = spacy_stanza:StanzaLanguage",
"stanza_sk = spacy_stanza:StanzaLanguage",
"stanza_sl = spacy_stanza:StanzaLanguage",
"stanza_sr = spacy_stanza:StanzaLanguage",
"stanza_sv = spacy_stanza:StanzaLanguage",
"stanza_ta = spacy_stanza:StanzaLanguage",
"stanza_te = spacy_stanza:StanzaLanguage",
"stanza_tr = spacy_stanza:StanzaLanguage",
"stanza_uk = spacy_stanza:StanzaLanguage",
"stanza_ur = spacy_stanza:StanzaLanguage",
"stanza_vi = spacy_stanza:StanzaLanguage",
"stanza_zh = spacy_stanza:StanzaLanguage",
]
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
zip_safe=False,
)
Expand Down
2 changes: 1 addition & 1 deletion spacy_stanza/about.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = "spacy-stanza"
__version__ = "0.2.4"
__version__ = "0.2.5"
__summary__ = "Use the latest Stanza (StanfordNLP) research models directly in spaCy"
__uri__ = "https://explosion.ai"
__author__ = "Ines Montani"
Expand Down

0 comments on commit 2128d5c

Please sign in to comment.