#!/usr/bin/python
# Copyright (c) 2009 Arista Networks, Inc.  All rights reserved.
# Arista Networks, Inc. Confidential and Proprietary.

import os, sys
# Set the 'NOPDB' environment variable before importing Tac to prevent us from
# ever dropping into PDB (see tacc/Tac/Excepthook.py).
os.environ[ 'NOPDB' ] = '1'

if 0:         # For the dependency generator to pull in python-pip
   import pip # pylint: disable-msg=W0611

# Pylint gets confused as the script and the library (with a .py exception)
# are named the same.
# pylint: disable-msg=W0406
# pylint: disable-msg=E1101
import LoadExtensions
try:
   LoadExtensions.main( sys.argv[ 1: ] )
except LoadExtensions.LoadExtensionsError, e:
   sys.stderr.write( "%s\n" % e )
   sys.exit( 1 )
