# Description: # Build rule for Python and Numpy. # This rule works for Debian and Ubuntu. Other platforms might keep the # headers in different places, cf. 'How to build DeepMind Lab' in build.md. cc_library( name = "python", hdrs = glob([ "include/python3.7m/*.h", "lib/python3.7/site-packages/numpy/core/include/*.h", ]), includes = [ "include/python3.7m", "lib/python3.7/site-packages/numpy/core/include/*.h", ], visibility = ["//visibility:public"], ) alias( name = "python_headers", actual = ":python", visibility = ["//visibility:public"], )