Hi, I should repeat my reply also here,
I try to put everything to the server. I place Stalker, Anima, SQLAlchemy (has a compiled query engine --I think-- but I don't care about the Windows workstations are not being able use it, it is already fast), Jinja2, comtypes and other python libraries to server, setup PYTHONPATH to include those paths. And install PySide, PyQt4, psycopg2 to workstations to all the applications that has an internal Python interpretter (Maya, Nuke, Houdini etc.) plus to the stand alone interpreter (python 2.7). E.Ozgur Yilmaz eoyilmaz.blogspot.com On Mon, May 12, 2014 at 6:20 PM, Fredrik Averpil <[email protected]>wrote: > Hi, > > I've been meaning to learn how to efficiently serve a python module to all > workstations/render blades without actually installing it locally... > > So far I've just copied already compiled modules from the site-packages > folder from a local installation and then I keep these in folders such as > python26_win7_site-packages, python26_linux_site-packages on the server. > Not the cleanest and nicest way of dealing with this, I guess. But what's > nice is my scripts just need to do something like this: > > sys.path.append('/server/share/modules/') > import modulex > > So it's easy to make new modules accessible for machines quickly. > > My question is; how would you guys deal with this when building from > source? > Eggs in separate OS folders? > Is it at all possible to build eggs for Win/Linux/OSX from one and the > same operating system? > I'm usually on Windows (7). Should I rather be using a Linux environment > for this type of work? > > Is there an RTFM to this (and/or building eggs)? > Please point me towards any literature or write-up worth reading as I'm > new to making eggs (and building from source for that matter). > > To be less abstract, I'm looking to build > stalker<https://pypi.python.org/pypi/stalker>from source and have it > available (although stored on the server) for all > machines (Win/Linux). > > Thanks in advance for any pointers. > > // Fredrik > > -- > 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/CAD%3DwhWO%2BtdFE34yhwgbWc2n%2BuFqUb_XRD1oOO%3DyVEDcms%2BKGtg%40mail.gmail.com<https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWO%2BtdFE34yhwgbWc2n%2BuFqUb_XRD1oOO%3DyVEDcms%2BKGtg%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/CAGNmyx69utr_3DwbbSPgC6Oo%3DTzjgaS%3DcM8mu%2BhGg4MSYtcpag%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
