File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ mkdir -p tensorboard/_vendor
96
96
touch tensorboard/_vendor/__init__.py
97
97
cp -LR " ${RUNFILES} /org_html5lib/html5lib" tensorboard/_vendor
98
98
cp -LR " ${RUNFILES} /org_mozilla_bleach/bleach" tensorboard/_vendor
99
+ cp -LR " ${RUNFILES} /org_pythonhosted_webencodings/webencodings" tensorboard/_vendor
99
100
cp -LR " ${RUNFILES} /org_tensorflow_serving_api/tensorflow_serving" tensorboard/_vendor
100
-
101
101
chmod -R u+w,go+r .
102
102
103
103
find tensorboard -name \* .py |
@@ -106,6 +106,8 @@ find tensorboard -name \*.py |
106
106
s/^from html5lib/from tensorboard._vendor.html5lib/
107
107
s/^import bleach$/from tensorboard._vendor import bleach/
108
108
s/^from bleach/from tensorboard._vendor.bleach/
109
+ s/^import webencodings$/from tensorboard._vendor import webencodings/
110
+ s/^from webencodings/from tensorboard._vendor.webencodings/
109
111
s/from tensorflow_serving/from tensorboard._vendor.tensorflow_serving/
110
112
'
111
113
# install the package
Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ requirements:
46
46
- six >={{six}}
47
47
- werkzeug >={{werkzeug}}
48
48
- futures >=3.1.1 # [py27]
49
- # this one should be vendored. It is a dep of html5lib, which tensorboard vendors.
50
- - webencodings
51
49
# reported missing dep on OSX. Apply to all, just to be safe.
52
50
- wheel
53
51
You can’t perform that action at this time.
0 commit comments