blob: 67fa17cde3f53e5fdeb3bcf068cf4390b499d495 [file] [log] [blame]
Mike Frysingere58c0e22017-10-04 15:43:30 -04001# -*- coding: utf-8 -*-
Aviv Keshet39853bd2016-09-22 15:12:05 -07002# Copyright 2016 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6"""Try to set up a chromite virtualenv, and print the import path."""
7
8from __future__ import print_function
9
10from chromite.lib import commandline
11
12import sys
13import pprint
14
15def GetParser():
16 """Creates the argparse parser."""
17 parser = commandline.ArgumentParser(description=__doc__)
18 return parser
19
20def main(argv):
21 parser = GetParser()
22 parser.parse_args(argv)
23
24 print('The import path is:')
25 pprint.pprint(sys.path)