Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 0177f28

Browse files
authored
Merge pull request #262 from NervanaSystems/steven/fix_sysinstall
includes services.json in system install and peg setuptools version
2 parents 8784c11 + c8c2955 commit 0177f28

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ generated
2626
.idea/
2727
dist
2828
.nlp_architect_env/
29+
src/
2930
_generated_reqs.txt
3031
pylint.html
3132
pylint.txt

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include server/services.json

nlp_architect/api/ner_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def _download_pretrained_model(self, prompt=True):
8282
"""Downloads the pre-trained BIST model if non-existent."""
8383
dir_path = path.join(self.dir, 'ner-pretrained')
8484
if not path.isfile(path.join(dir_path, 'model.h5')):
85-
print('The pre-trained models to be downloaded for the NER dataset'
86-
'are licensed under Apache 2.0. By downloading, you accept the terms'
85+
print('The pre-trained models to be downloaded for the NER dataset '
86+
'are licensed under Apache 2.0. By downloading, you accept the terms '
8787
'and conditions provided by the license')
8888
makedirs(dir_path, exist_ok=True)
8989
if prompt is True:

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ sklearn
1616
termcolor
1717
falcon
1818
falcon_multipart
19-
pillow
2019
pandas
21-
setuptools
20+
pillow
21+
# required for tensorflow 1.9
22+
setuptools==39.1.0
2223
spacy>=2.0
2324
keras==2.1.5
2425
git+https://www.github.com/keras-team/keras-contrib.git@196dd51e915712ec1bb31fc6925f26707c7c2cea#egg=keras-contrib

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
license='License :: OSI Approved :: Apache Software License',
3333
packages=find_packages(),
3434
install_requires=requirements,
35-
package_data={},
35+
include_package_data=True,
3636
classifiers=['Development Status :: 3 - Alpha',
3737
'Environment :: Console',
3838
'Environment :: Web Environment',

0 commit comments

Comments
 (0)