Skip to content

xondrejk/bazel_py_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bazel_py_example

Mixed version Python example

The question is how to support multiple version of Python in a single bazel project without resrting to wrapping one of the version as a generic shell script.

Initial setup would work for each target called separately with corresponding --python_top (or --python_path):

$ bazel build -s //example:old_test
$ bazel build -s //example:new_test --python_top //tools:python3

But that is less then optimal.

About

Mixed version Python example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages