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