Skip to content

Commit

Permalink
simplified installation
Browse files Browse the repository at this point in the history
  • Loading branch information
kootenpv committed Jun 14, 2017
1 parent 8711b5b commit a434964
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
12 changes: 3 additions & 9 deletions README.md
Expand Up @@ -14,17 +14,11 @@ Caching happens on unique arguments.

Should work with py2 and py3.

Install on a machine that will run both client and server:
Assumes you have installed `spacy`.

pip install spacy_api[all]

Server only (spacy, mprpc):

pip install spacy_api[server]
Install:

Client Only (numpy, mprpc):

pip install spacy_api[client]
pip install spacy_api[all]

### Example

Expand Down
9 changes: 2 additions & 7 deletions setup.py
Expand Up @@ -3,7 +3,7 @@

MAJOR_VERSION = '0'
MINOR_VERSION = '4'
MICRO_VERSION = '32'
MICRO_VERSION = '36'
VERSION = "{}.{}.{}".format(MAJOR_VERSION, MINOR_VERSION, MICRO_VERSION)

setup(name='spacy_api',
Expand All @@ -16,7 +16,7 @@
'console_scripts': ['spacy = spacy_api.__main__:main']
},
install_requires=[
'cachetools'
'cachetools', 'mprpc', 'numpy'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand All @@ -36,11 +36,6 @@
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering'
],
extras_require={
'server': ['spacy', 'mprpc'],
'client': ['mprpc', 'numpy'],
'all': ['mprpc', 'spacy', 'numpy']
},
license='MIT',
packages=find_packages(),
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion spacy_api/__init__.py
@@ -1,7 +1,7 @@
import sys

__project__ = "spacy_api"
__version__ = "0.4.32"
__version__ = "0.4.36"
__repo__ = "https://github.com/kootenpv/spacy_api"

from spacy_api.client import Client
Expand Down

0 comments on commit a434964

Please sign in to comment.