William Moten

wmoten20

About Me

EXPERTISE
Developer
INDUSTRY
Film/TV

Connect

LOCATION
Not Specified

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Setting up Python packages. What location should I be in? [macbook] Jan. 13, 2018, 11:26 p.m.

I'm an idiot.

https://www.youtube.com/watch?v=xoVORgBT190 [www.youtube.com]

this explains it.

/Users/$USER/Library/Preferences/houdini/16.0/python2.7libs/

Setting up Python packages. What location should I be in? [macbook] Jan. 13, 2018, 10:06 a.m.

I've been searching for a couple hours and nothing seems to work.

I'd like to create a python package that will have multiple python files.

./houdini_instancer/
|__init__.py
|importer.py
|exporter.py
|builder.py
|main.py


and call upon it inside the python shell or custom button using

>>>from houdini_instancer import main
>>>main.runExport('path/to/export', args, and, more, args)

for the life of me I can't seem to find the path houdini is looking for. I'm in OSX on a macbook.

side note: $HOUDINI_PATH is empty and, if I change it, it breaks the license server…. (just in case someone wanted to suggest altering this var)