gnu: tensorflow: Provide older setuptools version.

* gnu/packages/python-xyz.scm (python-setuptools-for-tensorflow): New public
variable.
* gnu/packages/machine-learning.scm (tensorflow)[native-inputs]: Add it.
This commit is contained in:
Marius Bakke 2019-07-19 14:57:06 +02:00
parent 04842543e8
commit 0fdec2a309
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
2 changed files with 16 additions and 0 deletions

View file

@ -1604,6 +1604,9 @@ INSTALL_RPATH " (assoc-ref outputs "out") "/lib)\n")))
("protobuf:native" ,protobuf-next) ; protoc
("protobuf:src" ,(package-source protobuf-next))
("eigen:src" ,(package-source eigen-for-tensorflow))
;; install_pip_packages.sh wants setuptools 39.1.0 specifically.
("python-setuptools" ,python-setuptools-for-tensorflow)
;; The commit hashes and URLs for third-party source code are taken
;; from "tensorflow/workspace.bzl".
("boringssl-src"