andeliseev Posted November 20, 2014 Share Posted November 20, 2014 Hello. I setup HOUDINI_PATH in my python wrapper, but it simple don't work. Nothing from specified folder loading. This is my wrapper. import os, sys, subprocess # HOUDINI_MAJOR_RELEASE = '13' HOUDINI_MINOR_RELEASE = '0' HOUDINI_BUILD_VERSION = '547' # HOUDINI_INSTALL_PATH = '/Library/Frameworks/Houdini.framework/Versions/' # HOUDINI_BUILD = '%s.%s.%s' % (HOUDINI_MAJOR_RELEASE, HOUDINI_MINOR_RELEASE, HOUDINI_BUILD_VERSION) HFS = HOUDINI_INSTALL_PATH + HOUDINI_BUILD + '/resources' os.environ['HFS'] = HFS # '''Setup PATH location''' HB = HFS+'/bin' os.environ['PATH']= os.path.pathsep.join([HB,os.environ['PATH']]) #this is not work CUSTOMHOUDINIFOLDER = 'Users/andeliseev/Documents/houdiniCustom' os.environ['HOUDINI_PATH'] = CUSTOMHOUDINIFOLDER + ';&' HOME = '/Users/andeliseev/Dropbox/houdini/pref' os.environ['HOME'] = HOME JOB = os.path.dirname(os.path.realpath(__file__)) os.environ['JOB'] = JOB if __name__ == '__main__': startpath = ['%s/houdinifx' % HB] subprocess.Popen(startpath) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.