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

Commit 22df8b9

Browse files
authored
fixed setup.py (#340)
* fixed setup.py
1 parent 968317c commit 22df8b9

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include nlp_architect/server/services.json
2+
recursive-include nlp_architect/server/angular-ui/ *.*
3+
recursive-include nlp_architect/utils/resources/ *.json *.txt
4+
recursive-include nlp_architect/solutions/set_expansion/ui/ *.html *.png *.js *.css
5+
recursive-include nlp_architect/solutions/trend_analysis/ *.html *.png *.js *.css

doc/source/static/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ new Vue({
22
el: '#app',
33
data: {
44
form: {
5-
source: '1',
5+
source: '0',
66
backend: 'CPU',
77
with_env: '0',
88
inst_type: '1'

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"pywikibot",
4646
"num2words",
4747
"hyperopt",
48+
"h5py",
4849
"pandas",
4950
"tqdm",
5051
"ftfy",
@@ -123,16 +124,16 @@
123124
'examples.*', 'examples', '*.examples', '*.examples.*']),
124125
install_requires=requirements + test_requirements,
125126
scripts=['nlp_architect/nlp_architect'],
126-
include_package_data=True,
127127
package_data={
128-
'server': ['services.json'],
128+
'nlp_architect.server': ['services.json'],
129129
'nlp_architect.utils.resources': ['*.json', '*.txt'],
130130
'nlp_architect.solutions.set_expansion': ['ui/download.js',
131131
'ui/static/css/styles.css',
132132
'ui/templates/index.html'],
133133
'nlp_architect.solutions.trend_analysis': ['assets/flow.png',
134134
'ui/static/css/styles.css'],
135135
},
136+
include_package_data=True,
136137
classifiers=[
137138
'Development Status :: 3 - Alpha',
138139
'Intended Audience :: End Users/Desktop',

0 commit comments

Comments
 (0)