VirtualBox

Changeset 20118 in vbox for trunk/src


Ignore:
Timestamp:
May 28, 2009 1:25:08 PM (16 years ago)
Author:
vboxsync
Message:

Python: installer draft

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r20115 r20118  
    173173# This file also should go to Python site-wide modules directory
    174174# so for users it look 'just being here'
    175 VBox-python-glue_SOURCES = glue/vboxapi.py=>glue/python/vboxapi.py
    176 
    177 VBOX_PYTHON_CONSTANTS = $(VBOX_PATH_SDK)/bindings/glue/python/VirtualBox_constants.py
     175VBox-python-glue_SOURCES = glue/vboxapi.py=>glue/python/vboxapi/__init__.py
     176
     177VBOX_PYTHON_CONSTANTS = $(VBOX_PATH_SDK)/bindings/glue/python/vboxapi/VirtualBox_constants.py
    178178OTHERS += $(VBOX_PYTHON_CONSTANTS)
    179179
  • trunk/src/VBox/Main/glue/vboxapi.py

    r20113 r20118  
    2121
    2222if VboxBinDir is None:
    23     # @todo: To be set by installer
    24     VboxBinDir = "/home/nike/work/ws/out/linux.amd64/debug/bin/"
     23    # Will be set by the installer
     24    VboxBinDir = "%VBOX_INSTALL_PATH%"
    2525
    2626if VboxSdkDir is None:
     
    2828
    2929os.environ["VBOX_PROGRAM_PATH"] = VboxBinDir
    30 os.environ["VBOX_SDK_PATH"] = VboxSdkDir
     30#os.environ["VBOX_SDK_PATH"] = VboxSdkDir
    3131sys.path.append(VboxBinDir)
    32 sys.path.append(VboxSdkDir+"/bindings/glue/python")
     32#sys.path.append(VboxSdkDir+"/bindings/glue/python")
    3333
    3434from VirtualBox_constants import VirtualBoxReflectionInfo
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette