File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 22
22
from setuptools import setup
23
23
from setuptools .dist import Distribution
24
24
25
- __version__ = '1.2b1'
25
+ # Version string is intentionally set to non-numeric value, so that non-release
26
+ # built packages are different from release packages. During builds for formal
27
+ # releases, we should temporarily change this value to pip release version.
28
+ __version__ = 'custom-build-from-source'
26
29
27
30
28
31
class BinaryDistribution (Distribution ):
@@ -42,7 +45,7 @@ def has_ext_modules(self):
42
45
packages = find_packages (),
43
46
install_requires = [
44
47
'scipy >= 1.0.0' ,
45
- 'tensorflow >= 1.13 .0' ,
48
+ 'tensorflow >= 1.14 .0' ,
46
49
],
47
50
# Add in any packaged data.
48
51
include_package_data = True ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def _tensorflow_pip_impl(ctx):
21
21
fail ("Failed to find include path. Did you remember to pip install " +
22
22
"tensorflow?: %s" % include_path .stderr )
23
23
24
- library_filename = "libtensorflow_framework.so"
24
+ library_filename = "libtensorflow_framework.so.1 "
25
25
ctx .symlink ("/" .join ([library_path .stdout .strip (), library_filename ]),
26
26
library_filename )
27
27
ctx .symlink (include_path .stdout .strip (), "include" )
You can’t perform that action at this time.
0 commit comments