Dmitry Semenikhin

psiloid

About Me

EXPERTISE
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
Russian Federation
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Houdini environment variables in wrapper Aug. 2, 2013, 9:50 a.m.

7.on
Hi, everyone! How must look python code that look at directory: /houdini/python/lib/python2.6/site-packages/?

I tryed to write: os.environ= os.path.pathsep.join() and few else variants, but it not help.

my all wrapper code:

import os,sys,subprocess

HOUDINI_MAJOR_RELEASE = ‘12’
HOUDINI_MINOR_RELEASE = ‘5’
HOUDINI_BUILD_VERSION = ‘480’
#
HOUDINI_INSTALL_PATH='/opt/houdini/'
HOUDINI_GLOB_PATH='/home/logos/mnt/Hranilise/houdini'

HOUDINI_BUILD = ‘%s.%s.%s’%(
HOUDINI_MAJOR_RELEASE,
HOUDINI_MINOR_RELEASE,
HOUDINI_BUILD_VERSION)
#
HFS = HOUDINI_INSTALL_PATH + HOUDINI_BUILD

os.environ=HFS

#
HB = HFS + ‘/bin’
os.environ=os.path.pathsep.join([HB,os.environ])

#
os.environ= os.path.pathsep.join()

os.environ= os.path.pathsep.join()


os.environ= os.path.pathsep.join()

os.environ= os.path.pathsep.join()

os.environ= os.path.pathsep.join()

os.environ= os.path.pathsep.join()

os.environ= os.path.pathsep.join()

Houdini environment variables in wrapper Aug. 2, 2013, 9:37 a.m.

Hi, everyone! How must look python code that look at directory: /houdini/python/lib/python2.6/site-packages/?

I tryed to write: os.environ= os.path.pathsep.join() and few else variants, but it not help.