Initial checkin

Allows authentication with the Blender ID addon, and requires the Pillar
SDK, but doesn't do much else.
This commit is contained in:
2016-03-08 16:22:20 +01:00
commit b39ce06c75
4 changed files with 113 additions and 0 deletions

14
blender_cloud/pillar.py Normal file
View File

@@ -0,0 +1,14 @@
import sys
import os
# Add our shipped Pillar SDK wheel to the Python path
if not any('pillar_sdk' in path for path in sys.path):
import glob
# TODO: gracefully handle errors when the wheel cannot be found.
my_dir = os.path.dirname(__file__)
pillar_wheel = glob.glob(os.path.join(my_dir, 'pillar_sdk*.whl'))[0]
sys.path.append(pillar_wheel)
import pillarsdk