On Mon, Jan 1, 2018, 2:27 AM Marcus Ottosson <[email protected]> wrote:
> 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. > It would be the same solution for OSX as well, by setting the PYTHONPATH to the shared install location of PySide Another solution that I used to use was to package the tool into an app which can be copied around: https://py2app.readthedocs.io/en/latest/ $ 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 <[email protected]> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/87d1730e-4921-4b21-b273-c8500817af96%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/87d1730e-4921-4b21-b273-c8500817af96%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBtttDZ1uBfkCsZFYxGG2WpB%2Bb3FPPDn4VkzQNodV9S8Q%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBtttDZ1uBfkCsZFYxGG2WpB%2Bb3FPPDn4VkzQNodV9S8Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA23ToAqkwbK0ALUQ%2Bi3F1JyGxg2m%3D%3DV9SNPr%2Bdx%2BQ1kWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
