change data path, add repository

This commit is contained in:
Henning Peters 2015-11-18 11:40:46 +01:00
parent 12de895e60
commit 919a4f0b04
3 changed files with 4 additions and 4 deletions

View File

@ -10,4 +10,4 @@ plac
six six
ujson ujson
cloudpickle cloudpickle
sputnik == 0.4.1 sputnik == 0.5.1

View File

@ -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 },
) )

View File

@ -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()