Skip to content

Commit b70554f

Browse files
committed
Administrivia
1 parent 1191cb7 commit b70554f

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

README.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,19 @@ and then create a new folder under
2424
``$HOME/nltk_data/corpora/omw/your_language`` where you put the file
2525
from wiki/wn-wikt-your_language.tab, and rename it to
2626
wn-data-your_language.tab.
27+
28+
If you get the message
29+
30+
::
31+
32+
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
33+
34+
There is a problem with the ``spacy`` the library for advanced Natural Language Processing in Python.
35+
36+
You might be able to fix this running:
37+
38+
::
39+
40+
python -m spacy download en
41+
42+
Adjust "python" and "en" (the language you want) above as needed.

admin-tools/make-dist.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ for pyversion in $PYVERSIONS; do
2929
# Pick out first two number of version, e.g. 3.7.9 -> 37
3030
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
3131
rm -fr build
32+
python setup.py develop
3233
python setup.py bdist_egg
3334
python setup.py bdist_wheel
3435
python setup.py bdist_wheel --universal

admin-tools/pyenv-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
55
echo "This script should be *sourced* rather than run directly through bash"
66
exit 1
77
fi
8-
export PYVERSIONS='3.6.12 3.7.9 3.8.6 3.9.0'
8+
export PYVERSIONS='3.6.12 3.7.9 3.8.6'

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
# don't pack Mathics in egg because of media files, etc.
4040
zip_safe=False,
4141
maintainer="Mathics Group",
42+
long_description_content_type="text/x-rst",
4243
# metadata for upload to PyPI
4344
classifiers=[
4445
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)