Print leflib warning to stderr
This prevents it from being captured in docs when processing app help
strings.
try:
from ._leflib import parse as _parse
except:
- print("WARNING! leflib hasn't been built properly. SC installation may malfunction.")
+ import sys
+ print("WARNING! leflib hasn't been built properly. SC installation may malfunction.", file=sys.stderr)
def parse(path):
''' Parses LEF file.
