Description: Generate_classic_files_instead_of_WHL
 .
 tensorboard (0.1.7-1) unstable; urgency=medium
 .
   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
Author: Adam Cecile <acecile@le-vert.net>

---
Origin: other
Forwarded: not-needed
Last-Update: 2017-09-28

--- tensorboard-0.1.7.orig/tensorboard/pip_package/build_pip_package.sh
+++ tensorboard-0.1.7/tensorboard/pip_package/build_pip_package.sh
@@ -47,10 +47,12 @@ function main() {
   rm -f MANIFEST
   echo $(date) : "=== Building wheel"
   echo $(pwd)
-  python setup.py bdist_wheel >/dev/null
-  python3 setup.py bdist_wheel >/dev/null
-  mkdir -p ${DEST}
-  cp dist/* ${DEST}
+  python setup.py install --root ${DEST}/python-tensorboard --install-layout=deb
+  python3 setup.py install --root ${DEST}/python3-tensorboard --install-layout=deb
+  #python setup.py bdist_wheel >/dev/null
+  #python3 setup.py bdist_wheel >/dev/null
+  #mkdir -p ${DEST}
+  #cp dist/* ${DEST}
   popd
   rm -rf ${TMPDIR}
   echo $(date) : "=== Output wheel file is in: ${DEST}"
