Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Maya Module Path set by json

Irene Pu January 22, 2019

Hi, 

 

Our pipeline is currently using Sourcetree to manage our scripts for Maya.

Our issue is that we've added someone new to our pipeline/Sourcetree and they can deploy code to Sourcetree; however, we have a dictionary in a .package-cfg.json file that lets the code in our repo override our current pipeline by setting their environment variables/script path to that of their local scripts rather than that of the pipeline. 

So when we import modules in the script editor in maya, if we are on the pipeline, our module paths to scripts would be like:

\\NameOfDrive\ROOT\packages\packageName\0.17.0\folderName

 

However, the json file lets us override to the scripts on our C: drive

C:\Users\username\dev\packageName\folderName

 

If I remember correctly, a blank json file is generated when we make our account; however, for this user I feel like the json file isn't helping override the Maya variables. How can I check if this person's .package-cfg.json file is properly working and connected to SourceTree?

 

Thank you

1 answer

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2019

Hi

Sourcetree does not interact with .package-cfg.json files, are you referring to the right application?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events