aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorAdam Janovsky2022-12-10 10:02:12 +0100
committerAdam Janovsky2022-12-10 10:02:12 +0100
commit570665cc82f00eb92f0980fc562b28af18fdca65 (patch)
treedbd8f7a942ddf77ce9601f9152f469f146304bdb /docs
parent1ce496a783cdbd7bd471e758ca4ad80a667dbefc (diff)
downloadsec-certs-570665cc82f00eb92f0980fc562b28af18fdca65.tar.gz
sec-certs-570665cc82f00eb92f0980fc562b28af18fdca65.tar.zst
sec-certs-570665cc82f00eb92f0980fc562b28af18fdca65.zip
update pypi action
Diffstat (limited to 'docs')
-rw-r--r--docs/installation.md2
-rw-r--r--docs/quickstart.md4
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/installation.md b/docs/installation.md
index 741bd72e..7a119f62 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -7,6 +7,7 @@ The tool can be installed from PyPi with
```bash
pip install -U sec-certs
+python -m spacy download en_core_web_sm
```
Note, that `Python>=3.8` is required.
@@ -31,6 +32,7 @@ git clone https://github.com/crocs-muni/sec-certs.git
python3 -m venv venv
source venv/bin/activate
pip install -e .
+python -m spacy download en_core_web_sm
```
Alternatively, our Our [Dockerfile](https://github.com/crocs-muni/sec-certs/blob/main/Dockerfile) represents a reproducible way of setting up the environment.
diff --git a/docs/quickstart.md b/docs/quickstart.md
index 57033259..d916bc5a 100644
--- a/docs/quickstart.md
+++ b/docs/quickstart.md
@@ -3,7 +3,7 @@
::::{tab-set}
:::{tab-item} Common Criteria
-1. Install the latest version with `pip install -U sec-certs` (see [installation](installation.md)).
+1. Install the latest version with `pip install -U sec-certs && python -m spacy download en_core_web_sm` (see [installation](installation.md)).
2. In your Python interpreter, type
```python
from sec_certs.dataset import CCDataset
@@ -16,7 +16,7 @@ to obtain to obtain freshly processed dataset from [seccerts.org](https://seccer
:::
:::{tab-item} FIPS 140
-1. Install the latest version with `pip install -U sec-certs` (see [installation](installation.md)).
+1. Install the latest version with `pip install -U sec-certs && python -m spacy download en_core_web_sm` (see [installation](installation.md)).
2. In your Python interpreter, type
```python
from sec_certs.dataset import FIPSDataset