-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for other operating systems #3
Comments
Hey, yeah you're correct in that mayapy was the main reason I started doing it that way. There's also the case of Houdini however, where Maya is actually able to import the If you do have a better idea though I'd be all ears, I'm aware my method isn't perfect, it's just the safest way I could think of at the time. |
Hello @huntfx, I'm currently working on a project that is supposed to run on most VFX platforms and I came across your project. The reason why I'm answering here is that I've worked on something similar and it seems to work well so I was wondering if I could submit a pull request to contribute to your project ? It's nothing crazy, it's based on regular expression searching for patterns in sys.executable. Thanks in advance and happy Monday ! Greg. |
Hey, sorry @gpijat, I'd completely missed this message, I'd been on holiday that week so had a lot of emails to skim over lol. Anyway, I've just released those changes so 1.8 is the official version now (thanks again for the help), will mark this issue as solved since it works on Linux now 😄 |
In the init.py checks are getting made on sys.executable that restrict proper functionality to windows only (checking if maya.exe is the executable for example).
Would you like me to provide a pull request for a more generic way of doing the checks? From what I see, the reason for these is to make sure its not a module with the same name not within the program, and to differentiate between maya and mayapy?
The text was updated successfully, but these errors were encountered: