The module system works well for deploying script packages internally. The way I did mine was upon submission to perforce a trigger copied the updates to the network drive.
Artists machines had a environment variable to point to the server for the MAYA_MODULE_PATH which picked up everything we needed. Worked very well with packaging up external scripts and plugins as well. Cheers, Dave On Sat, Aug 2, 2014 at 3:00 AM, md <[email protected]> wrote: > Putting the paths in my maya.env seems to work. > > > > On Friday, August 1, 2014 12:51:29 PM UTC-4, md wrote: >> >> Ok ... but I would really like to have a company shelf load automatically >> when maya launches. That way I could update the shelf to make scripts >> available to artists. >> >> On Friday, August 1, 2014 12:47:49 PM UTC-4, Marcus Ottosson wrote: >>> >>> Looks interesting, but out of curiosity, why not set-up a shared path >>> for access to scripts directly? There is typically a development branch and >>> a production branch in which developers store scripts intended for use by >>> others. I think modules are intended for commercialisation of plug-ins and >>> such, where the distributor has little or no control over shared assets. >>> >>> >>> On 1 August 2014 15:44, md <[email protected]> wrote: >>> >>>> What a lame name for a post .. ahahahaha. >>>> >>>> Anyway ... >>>> >>>> I have a bunch of python scripts completed. I decided to try an use the >>>> Maya module paradigm for sharing these with the guys in the office. >>>> >>>> so I have >>>> >>>> *\my_module* >>>> >>>> *\icons* >>>> >>>> *-bunch of icons * >>>> >>>> *\plug-ins (empty)* >>>> >>>> *\presets (empty)* >>>> *\scripts* >>>> >>>> *- bunch of scripts * >>>> >>>> *\shelves* >>>> >>>> *- my_module_shelf.mel* >>>> >>>> >>>> >>>> in my docs\maya\2015-x64\modules folder I have : >>>> >>>> *my_module.mod* >>>> >>>> >>>> the contents of that are as follows ... >>>> >>>> *+ sm_module any my_network_path\my_module\* >>>> >>>> *MAYA_SHELF_PATH += \my_network_path\my_module\shelves\* >>>> >>>> When I launch Maya ... the module gets inspected (I can see it in >>>> windows-settings&prefs-plug-in-manager) ... >>>> >>>> Why does my shelf not load ??? >>>> >>>> Thanks !! >>>> >>>> >>>> >>>> >>>> -- >>>> 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/73bc15be-9618-4b26-b2c0- >>>> a9a4a194d296%40googlegroups.com >>>> <https://groups.google.com/d/msgid/python_inside_maya/73bc15be-9618-4b26-b2c0-a9a4a194d296%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> *Marcus Ottosson* >>> [email protected] >>> >> -- > 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/82af9b14-7f7a-4326-bc08-c214d0d29aa2%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/82af9b14-7f7a-4326-bc08-c214d0d29aa2%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/CAGvmHEd_1i%3DJ0pkYhDFk8yrH82b%2BCNqAoyXMjC5_EtM58OE4Mg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
