Description: Use regular setup.py install instead of building WHL files
 .
 tensorflow (1.2.1-1) unstable; urgency=medium
 .
   * Initial release.
Author: Adam Cecile <acecile@le-vert.net>

---
Origin: other
Forwarded: not-needed
Last-Update: 2017-08-04

--- tensorflow-1.2.1.orig/tensorflow/tools/pip_package/build_pip_package.sh
+++ tensorflow-1.2.1/tensorflow/tools/pip_package/build_pip_package.sh
@@ -157,9 +157,10 @@ function main() {
   pushd ${TMPDIR}
   rm -f MANIFEST
   echo $(date) : "=== Building wheel"
-  "${PYTHON_BIN_PATH:-python}" setup.py bdist_wheel ${GPU_FLAG} >/dev/null
+  #"${PYTHON_BIN_PATH:-python}" setup.py bdist_wheel ${GPU_FLAG} >/dev/null
+  "${PYTHON_BIN_PATH:-python}" setup.py install --root ${DEST} --install-layout=deb >/dev/null
   mkdir -p ${DEST}
-  cp dist/* ${DEST}
+  #cp dist/* ${DEST}
   popd
   rm -rf ${TMPDIR}
   echo $(date) : "=== Output wheel file is in: ${DEST}"
