Simplify package command docs

This commit is contained in:
ines 2017-03-21 11:35:29 +01:00
parent cf0094187e
commit fa6e3cefbb

View File

@ -111,11 +111,9 @@ p
| Generate a #[+a("/docs/usage/models#own-models") model Python package] | Generate a #[+a("/docs/usage/models#own-models") model Python package]
| from an existing model data directory. All data files are copied over, | from an existing model data directory. All data files are copied over,
| and the meta data can be entered directly from the command line. While | and the meta data can be entered directly from the command line. While
| this feature is still experimental, the templates for the | this feature is still experimental, the required file templates are
| #[+src(gh("spacy-dev-resources", "templates/model/setup.py")) setup.py] and | downloaded from #[+src(gh("spacy-dev-resources", "templates/model")) GitHub].
| #[+src(gh("spacy-dev-resources", "templates/model/en_morel_name/__init__.py")) __init__.py] | This means you need to be connected to the internet to use this command.
| are downloaded from GitHub. This means you need to be connected to the
| internet to use this command.
+code(false, "bash"). +code(false, "bash").
python -m spacy package [input_dir] [output_dir] [--force] python -m spacy package [input_dir] [output_dir] [--force]