Skip to content

Instantly share code, notes, and snippets.

@EricCousineau-TRI
Created December 10, 2018 23:49
Show Gist options
  • Select an option

  • Save EricCousineau-TRI/52b4627aaeef695db865b89782605386 to your computer and use it in GitHub Desktop.

Select an option

Save EricCousineau-TRI/52b4627aaeef695db865b89782605386 to your computer and use it in GitHub Desktop.
diff --git a/tools/skylark/python_env.bzl b/tools/skylark/python_env.bzl
index 1416421..f2c92e8 100644
--- a/tools/skylark/python_env.bzl
+++ b/tools/skylark/python_env.bzl
@@ -14,9 +14,5 @@ def hermetic_python_env():
#
# If https://github.com/bazelbuild/bazel/issues/4939 gets fixed, we can
# revisit whether manually specifying a hermetic env is still necessary.
- return select({
- "@drake//tools/skylark:linux": {
- "PYTHONNOUSERSITE": "1",
- },
- "//conditions:default": {},
- })
+ # HACK: Allow user site stuff.
+ return {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment