mirror of https://github.com/explosion/spaCy.git
Add script to get package name
This commit is contained in:
parent
64df37643f
commit
944b1246f0
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
version=$(grep "__title__ = " spacy/about.py)
|
||||
version=${version/__title__ = }
|
||||
version=${version/\'/}
|
||||
version=${version/\'/}
|
||||
version=${version/\"/}
|
||||
version=${version/\"/}
|
||||
|
||||
echo $version
|
Loading…
Reference in New Issue