I am working on a deployment package for Maya and we're doing a huge migration, currently I am pulling tools, shelves, icons from a main and saving it to the Maya C:\Users\user\Documents\maya\2016 directory.
I am wondering if this is the best way to handle Maya reading tools, I have tried in the past to work with the Maya environments/env but I did not have much luck and attributed it to bugs, but is that a better way to handle the deployment of tools?
ANY suggestions I would greatly appreciate!!!
I am trying sys.path.append. is this suggested?
--
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/5d0a8ce5-50c4-42d0-8c9d-5ef8fc502bbd%40googlegroups.com.
I agree with Eric. It's an easy way to it.
Sorry can't reply more than to say to look into Modules for packaging sets of tools.
On Fri, Sep 30, 2016 at 5:00 PM, I73 <wesley....@iugome.com> wrote:
I am trying sys.path.append. is this suggested?
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5d0a8ce5-50c4-42d0-8c9d-5ef8fc502bbd%40googlegroups.com.
--
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/CAAjrnHsR%3DfRPF8AQe0ZWF-Z7NdD_Ko1azGDXFbik52jn9Ja_Ng%40mail.gmail.com.
I wouldn’t necessarily put it as black/white.
As software distribution goes, whether inside or outside of Maya, you have a few options.
pip install and anaconda.msi or InnoSetup on Windows, apt-get on Debian-based systems and yum on RedHat-based systems.Each of these have their pros and cons that you’ll need to weigh against your goals. For example, if you are distributing an operating system, odds are you’ll have no choice but to go with (4) and roll your own bootstrapping installer on bare metal. On the other hand if you ship software written in a cross-platform language to a cross-platform platform, such as Maya, then your installation instructions could be simply:
Copy/paste this into your Script Editor
Being the expert at your software project, you will know best which option is better suited for you It is unlikely that the approach you choose is the best fit for everyone. As an example, I’ve shipped software as both copy/paste this, pip install this and install using this InnoSetup executable because the approach chosen was a best fit for the particular project and audience I was targeting.
Good luck!
I am currently using the userSetup.py to load in my tools with sys.append.