• David Z. Chen's avatar
    Remove hack for building Python support with Bazel. · 985c9684
    David Z. Chen authored
    This change makes use of new imports attribute for Bazel's Python rules, which
    enable adding directories to the PYTHONPATH. This allows us to remove
    the hack for building protobuf's Python support with Bazel and now
    allows projects to include protobuf using a Bazel external repository
    rather than requiring it to be imported directly into the source tree as
    //google/protobuf.
    
    This change also updates the protobuf BUILD file to use a named
    repository, @python//, for including Python headers rather than
    //util/python. This allows projects to specify their own package for
    Python headers when including protobuf with an external repository.
    
    Fixes #1230
    985c9684
Name
Last commit
Last update
..
BUILD Loading commit data...