diff --git a/bin/spacy b/bin/spacy deleted file mode 100644 index 11359669c..000000000 --- a/bin/spacy +++ /dev/null @@ -1,2 +0,0 @@ -#! /bin/sh -python -m spacy "$@" diff --git a/setup.cfg b/setup.cfg index 2a44a51fb..ac63992c1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,8 +25,6 @@ classifiers = [options] zip_safe = false include_package_data = true -scripts = - bin/spacy python_requires = >=3.6 setup_requires = wheel @@ -59,6 +57,10 @@ install_requires = packaging importlib_metadata>=0.20; python_version < "3.8" +[options.entry_points] +console_scripts = + spacy = spacy.cli:app + [options.extras_require] lookups = spacy_lookups_data>=0.3.2,<0.4.0