🔧 Update spacy CLI script entrypoint to support completion

This commit is contained in:
Sebastián Ramírez 2020-07-01 20:21:05 +02:00
parent b02db67247
commit 764499246e
2 changed files with 4 additions and 4 deletions

View File

@ -1,2 +0,0 @@
#! /bin/sh
python -m spacy "$@"

View File

@ -25,8 +25,6 @@ classifiers =
[options] [options]
zip_safe = false zip_safe = false
include_package_data = true include_package_data = true
scripts =
bin/spacy
python_requires = >=3.6 python_requires = >=3.6
setup_requires = setup_requires =
wheel wheel
@ -59,6 +57,10 @@ install_requires =
packaging packaging
importlib_metadata>=0.20; python_version < "3.8" importlib_metadata>=0.20; python_version < "3.8"
[options.entry_points]
console_scripts =
spacy = spacy.cli:app
[options.extras_require] [options.extras_require]
lookups = lookups =
spacy_lookups_data>=0.3.2,<0.4.0 spacy_lookups_data>=0.3.2,<0.4.0