I don’t know about OSX, but on Linux and Windows you can just expose either PySide or PyQt to Python, such as via the PYTHONPATH variable, and it’ll work just fine.
$ export PYTHONPATH=/server/path/to/PyQt5Install
$ python -c "import PyQt4"
For your tool, you could distribute a script that does the above for you.
myTool.sh
#!/usr/bin/env bash
PYTHONPATH=/server/path/to/PyQt5Install python myTool.py
Or even add it in your module.
import sys
sys.path.insert(0, "/server/path/to/PyQt5Install")
import myTool
myTool.show()
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/87d1730e-4921-4b21-b273-c8500817af96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I don’t know about OSX, but on Linux and Windows you can just expose either PySide or PyQt to Python, such as via the PYTHONPATH variable, and it’ll work just fine.
$ export PYTHONPATH=/server/path/to/PyQt5Install $ python -c "import PyQt4"
For your tool, you could distribute a script that does the above for you.
myTool.sh
#!/usr/bin/env bash PYTHONPATH=/server/path/to/PyQt5Install python myTool.py
Or even add it in your module.
import sys sys.path.insert(0, "/server/path/to/PyQt5Install") import myTool myTool.show()
On 31 December 2017 at 12:12, Jeff J <lin...@gmail.com> wrote:
Hi,I am making a standalone tool with PySide on OSX and I want to share it with a team.So, I have looked to install it on server and sharing it, but didn't found it.Is there anyway that PySide and PyQt installed on server and share it with all people?I would use Python shipped with OSX so they don't need to install any extra.Is there anyway?Thank you.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/87d1730e-4921-4b21-b273-c8500817af96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBtttDZ1uBfkCsZFYxGG2WpB%2Bb3FPPDn4VkzQNodV9S8Q%40mail.gmail.com.