vboxapisetup.py revision f52596ee352b88100d0a2abd044c8edd3c542bd7
"""
Copyright (C) 2009-2012 Oracle Corporation
This file is part of VirtualBox Open Source Edition (OSE), as
available from http://www.virtualbox.org. This file is free software;
General Public License (GPL) as published by the Free Software
Foundation, in version 2 as it comes in the "COPYING" file of the
VirtualBox OSE distribution. VirtualBox OSE is distributed in the
hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
"""
def cleanupComCache():
import shutil
try:
except:
pass
try:
except:
pass
if vboxDest is None:
raise Exception("No VBOX_INSTALL_PATH defined, exiting")
if vboxVersion is None:
# Should we use VBox version for binding module versioning?
vboxVersion = "1.0"
import platform
else:
patchWith(os.path.join(os.path.dirname(sys.argv[0]), 'vboxapi', '__init__.py'), vboxDest, vboxSdkDest)
description='Python interface to VirtualBox',
author='Oracle Corp.',
author_email='vbox-dev@virtualbox.org',
packages=['vboxapi']
)
if __name__ == '__main__':