Commit 9510ea91 authored by Ian Fischer's avatar Ian Fischer

Log a warning when developers are using a dev build of the sky package.

parent e2f78a98
......@@ -998,6 +998,9 @@ class SkyShellRunner(object):
def main(self):
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.WARNING)
real_path = os.path.realpath(__file__)
if re.match(r'.*src\/sky\/packages\/sky\/', real_path) is not None:
logging.warning('Using overridden sky package located at ' + os.path.dirname(os.path.dirname(real_path)))
parser = argparse.ArgumentParser(description='Sky App Runner')
parser.add_argument('--verbose', dest='verbose', action='store_true',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment