Philipp Schrader | 9e1b9bd | 2021-12-28 00:15:12 -0800 | [diff] [blame^] | 1 | # TODO(phil): Delete this file after migrating everything to use upstream pip |
| 2 | # rules. |
| 3 | |
| 4 | package(default_visibility = ["//visibility:public"]) |
| 5 | |
| 6 | constraint_setting( |
| 7 | name = "python_source", |
| 8 | default_constraint_value = ":debian_bundled_python", |
| 9 | ) |
| 10 | |
| 11 | # Python code taken from .deb packages. |
| 12 | constraint_value( |
| 13 | name = "debian_bundled_python", |
| 14 | constraint_setting = ":python_source", |
| 15 | ) |
| 16 | |
| 17 | # Python code taken from pypi.org. |
| 18 | constraint_value( |
| 19 | name = "upstream_bundled_python", |
| 20 | constraint_setting = ":python_source", |
| 21 | ) |