Remove debug prints
This commit is contained in:
parent
c9ce403dc4
commit
85b4e7948c
|
|
@ -24,11 +24,8 @@ import sys
|
||||||
# Analysis in depth: https://github.com/bazelbuild/rules_python/issues/55
|
# Analysis in depth: https://github.com/bazelbuild/rules_python/issues/55
|
||||||
def sys_path_to_site_dir_hack():
|
def sys_path_to_site_dir_hack():
|
||||||
"""Add valid sys.path item to site directory to parse the .pth files."""
|
"""Add valid sys.path item to site directory to parse the .pth files."""
|
||||||
print("Executing hack")
|
|
||||||
print("sys.path: {}".format(sys.path))
|
|
||||||
items = []
|
items = []
|
||||||
for item in sys.path:
|
for item in sys.path:
|
||||||
print("Checking {}".format(item))
|
|
||||||
if os.path.exists(item):
|
if os.path.exists(item):
|
||||||
# The only difference between sys.path and site-directory is
|
# The only difference between sys.path and site-directory is
|
||||||
# whether the .pth file will be parsed or not. A site-directory
|
# whether the .pth file will be parsed or not. A site-directory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue