mirror of https://github.com/explosion/spaCy.git
change data path, add repository
This commit is contained in:
parent
12de895e60
commit
919a4f0b04
|
@ -10,4 +10,4 @@ plac
|
||||||
six
|
six
|
||||||
ujson
|
ujson
|
||||||
cloudpickle
|
cloudpickle
|
||||||
sputnik == 0.4.1
|
sputnik == 0.5.1
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -179,7 +179,7 @@ def run_setup(exts):
|
||||||
license="MIT",
|
license="MIT",
|
||||||
install_requires=['numpy', 'murmurhash', 'cymem == 1.30', 'preshed == 0.44',
|
install_requires=['numpy', 'murmurhash', 'cymem == 1.30', 'preshed == 0.44',
|
||||||
'thinc == 4.0.0', "text_unidecode", 'plac', 'six',
|
'thinc == 4.0.0', "text_unidecode", 'plac', 'six',
|
||||||
'ujson', 'cloudpickle', 'sputnik == 0.4.1'],
|
'ujson', 'cloudpickle', 'sputnik == 0.5.1'],
|
||||||
setup_requires=["headers_workaround"],
|
setup_requires=["headers_workaround"],
|
||||||
cmdclass = {'build_ext': build_ext_subclass },
|
cmdclass = {'build_ext': build_ext_subclass },
|
||||||
)
|
)
|
||||||
|
|
|
@ -31,8 +31,8 @@ def main(force=False):
|
||||||
path = os.path.dirname(os.path.abspath(__file__))
|
path = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
command = sputnik.make_command(
|
command = sputnik.make_command(
|
||||||
data_path=path,
|
data_path=os.path.join(path, '..', 'data'),
|
||||||
repository_url=os.environ.get('REPOSITORY_URL'))
|
repository_url='http://sputnik-production.elasticbeanstalk.com')
|
||||||
|
|
||||||
if force:
|
if force:
|
||||||
command.purge()
|
command.purge()
|
||||||
|
|
Loading…
Reference in New Issue