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 2222from setuptools import setup
2323from setuptools .dist import Distribution
2424
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'
2629
2730
2831class BinaryDistribution (Distribution ):
@@ -42,7 +45,7 @@ def has_ext_modules(self):
4245 packages = find_packages (),
4346 install_requires = [
4447 'scipy >= 1.0.0' ,
45- 'tensorflow >= 1.13 .0' ,
48+ 'tensorflow >= 1.14 .0' ,
4649 ],
4750 # Add in any packaged data.
4851 include_package_data = True ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def _tensorflow_pip_impl(ctx):
2121 fail ("Failed to find include path. Did you remember to pip install " +
2222 "tensorflow?: %s" % include_path .stderr )
2323
24- library_filename = "libtensorflow_framework.so"
24+ library_filename = "libtensorflow_framework.so.1 "
2525 ctx .symlink ("/" .join ([library_path .stdout .strip (), library_filename ]),
2626 library_filename )
2727 ctx .symlink (include_path .stdout .strip (), "include" )
You can’t perform that action at this time.
0 commit comments