Created
May 20, 2019 09:16
-
-
Save matthen/b041bddc778a8729f14b5de34e0b2951 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python_binary( | |
name = "test_main", | |
main = "test_main.py", | |
deps = [":tensorflow"], | |
) | |
"""Third party python dependencies, installed using pip. | |
See README.md for help in constructing these rules. | |
Please sort rules alphabetically by name, to make the file easier to navigate. | |
""" | |
pip_library( | |
name = "absl-py", | |
outs = ["absl"], | |
version = "0.2.2", | |
deps = [ | |
":six", | |
], | |
) | |
pip_library( | |
name = "astor", | |
licences = ["BSD-3-Clause"], | |
version = "0.6.0", | |
) | |
pip_library( | |
name = "gast", | |
licences = ["BSD-3-Clause"], | |
version = "0.2.0", | |
) | |
# A simple rule that populates google with an __init__ file, so | |
# google modules can be imported. | |
build_rule( | |
name = "google_module", | |
outs = ["google_module.pex.zip"], | |
cmd = ( | |
"mkdir google && touch google/__init__.py && " + | |
"$TOOL z -d -o google_module.pex.zip -i google/__init__.py" | |
), | |
tools = [CONFIG.JARCAT_TOOL], | |
) | |
pip_library( | |
name = "grpc", | |
package_name = "grpcio", | |
outs = [ | |
"grpc", | |
"grpcio-1.9.1.dist-info", | |
], | |
version = "1.9.1", | |
deps = [ | |
":setuptools", | |
":six", | |
], | |
) | |
pip_library( | |
name = "h5py", | |
version = "2.8.0", | |
) | |
pip_library( | |
name = "keras_applications", | |
licences = ["MIT"], | |
version = "1.0.4", | |
deps = [ | |
":h5py", | |
":numpy", | |
], | |
) | |
pip_library( | |
name = "keras_preprocessing", | |
licences = ["MIT"], | |
version = "1.0.2", | |
deps = [ | |
":numpy", | |
":six", | |
], | |
) | |
pip_library( | |
name = "mock", | |
version = "2.0.0", | |
deps = [ | |
":pbr", | |
":six", | |
], | |
) | |
pip_library( | |
name = "numpy", | |
outs = ["numpy"], | |
version = "1.16.0", | |
zip_safe = False, | |
) | |
pip_library( | |
name = "pbr", | |
version = "5.1.3", | |
) | |
pip_library( | |
name = "protobuf", | |
outs = [ | |
"google/protobuf", | |
], | |
version = "3.6.1", | |
deps = [ | |
":google_module", | |
":six", | |
], | |
) | |
pip_library( | |
name = "setuptools", | |
outs = [ | |
"pkg_resources", | |
"setuptools", | |
], | |
version = "40.0.0", | |
) | |
pip_library( | |
name = "six", | |
outs = ["six.py"], | |
version = "1.11.0", | |
) | |
pip_library( | |
name = "tensorflow", | |
package_name = "tensorflow", | |
outs = ["tensorflow"], | |
licences = ["Apache 2.0"], | |
version = "1.13.1", | |
deps = [ | |
":absl-py", | |
":astor", | |
":gast", | |
":grpc", | |
":keras_applications", | |
":keras_preprocessing", | |
":numpy", | |
":protobuf", | |
":six", | |
":tensorflow_estimator", | |
":termcolor", | |
":wheel", | |
], | |
) | |
pip_library( | |
name = "tensorflow_estimator", | |
version = "1.13.0", | |
deps = [ | |
":absl-py", | |
":mock", | |
":numpy", | |
":six", | |
], | |
) | |
pip_library( | |
name = "termcolor", | |
outs = ["termcolor.py"], | |
licences = ["MIT"], | |
version = "1.1.0", | |
) | |
pip_library( | |
name = "wheel", | |
version = "0.31.1", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment