Last active
August 29, 2015 14:26
-
-
Save oglops/3edcf7474a3d0b7c27a6 to your computer and use it in GitHub Desktop.
__init__.py modified for PyQt4-4.11.4-gpl-Py2.7-Qt4.8.6-x64-maya-2016
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import QtGui | |
if 'maya' not in str(QtGui.qApp.applicationName()).lower(): | |
dll = os.path.abspath(__file__ + "/../../../../DLLs") | |
if dll not in os.environ["PATH"]: | |
os.environ["PATH"] = dll + os.pathsep + os.environ["PATH"] | |
print 'Not in Maya,insert Dlls dir to path:\n', os.environ["PATH"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment