Skip to content

Instantly share code, notes, and snippets.

@salvaom
Created September 5, 2016 18:10
Show Gist options
  • Save salvaom/0513b1c4b17c792c26ab76db6d83d28c to your computer and use it in GitHub Desktop.
Save salvaom/0513b1c4b17c792c26ab76db6d83d28c to your computer and use it in GitHub Desktop.
import os
import getpass
tool = {
'tool': 'user',
'version': '',
'platforms': ['windows', 'linux', 'darwin'],
'requires': ['maya'],
'environment':
{
'PIPE_PREF_PATH': r'D:\Test\pipeline_DEV\prefs\maya',
'MAYA_APP_DIR': os.path.join('${PIPE_PREF_PATH}', getpass.getuser()),
}
}
def get_tools():
return [tool]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment