Description: Generate_classic_files_instead_of_WHL
 .
 tensorflow-estimator (1.13.0-1) unstable; urgency=medium
 .
   * Initial release.
Author: Adam Cecile <acecile@le-vert.net>

---
Origin: other
Forwarded: not-needed
Last-Update: 2019-04-10

Index: tensorflow-estimator-1.13.0/tensorflow_estimator/tools/pip_package/build_pip_package.sh
===================================================================
--- tensorflow-estimator-1.13.0.orig/tensorflow_estimator/tools/pip_package/build_pip_package.sh
+++ tensorflow-estimator-1.13.0/tensorflow_estimator/tools/pip_package/build_pip_package.sh
@@ -69,12 +69,16 @@ function build_wheel() {
   fi
 
   pushd ${TMPDIR} > /dev/null
-  echo $(date) : "=== Building wheel"
-  "${PYTHON_BIN_PATH:-python}" setup.py bdist_wheel --universal --project_name $PROJECT_NAME
-  mkdir -p ${DEST}
-  cp dist/* ${DEST}
-  popd > /dev/null
-  echo $(date) : "=== Output wheel file is in: ${DEST}"
+  #echo $(date) : "=== Building wheel"
+  #"${PYTHON_BIN_PATH:-python}" setup.py bdist_wheel --universal --project_name $PROJECT_NAME
+  #mkdir -p ${DEST}
+  #cp dist/* ${DEST}
+  #popd > /dev/null
+  #echo $(date) : "=== Output wheel file is in: ${DEST}"
+  echo $(date) : "=== Building python2 package to ${DEST}/python-tensorflow-estimator"
+  python setup.py install --root ${DEST}/python-tensorflow-estimator --install-layout=deb
+  echo $(date) : "=== Building python3 package to ${DEST}/python3-tensorflow-estimator"
+  python3 setup.py install --root ${DEST}/python3-tensorflow-estimator --install-layout=deb
   rm -rf "${TMPDIR}"
 }
 
