mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
13 lines
218 B
Bash
13 lines
218 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
version=$(grep "__version__ = " spacy/about.py)
|
||
|
version=${version/__version__ = }
|
||
|
version=${version/\'/}
|
||
|
version=${version/\'/}
|
||
|
version=${version/\"/}
|
||
|
version=${version/\"/}
|
||
|
|
||
|
echo $version
|