This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Maya launcher was developed for easy environment setup between maya sessions. It’s easy to use but requires some setup.

Features

  • Utilize target in shortcut properties to specify arguments.
  • Given paths are identified and added to the correct system variable.
  • Start several maya sessions with different environment setups.
  • Easily controllable through the commandline/terminal.
  • Highly customizable.

Installation

$ pip install mayalauncher

Options

$ mayal -h
usage: mayal [-h] [-v {2015}] [-env env] [-p path [path ...]] [-e] [file]

Maya Launcher is a useful script that tries to deal with all important system
environments maya uses when starting up. It aims to streamline the setup
process of maya to a simple string instead of constantly having to make sure
paths are setup correctly.

positional arguments:
  file                  file is an optional argument telling maya what file to
                        open with the launcher.

optional arguments:
  -h, --help            show this help message and exit
  -v {2015}, --version {2015}
                        Launch Maya with given version.
  -env env, --environment env
                        Launch maya with given environemnt, if no environment
                        is specified will try to use default value. If not
                        default value is specified Maya will behave with
                        factory environment setup.
  -p path [path ...], --path path [path ...]
                        Path is an optional argument that takes an unlimited
                        number of paths to use for environment creation.
                        Useful if you don't want to create a environment
                        variable. Just pass the path you want to use.
  -e, --edit            Edit config file.

Usage

To make use of mayalauncher some setup is required and there is mainly two ways to work with it: environments and a config file

Environments

  1. Add your Autodesk folder to your system PATH.

    How to edit your system PATH:

  2. Create system variables to store paths that you want to use.

    How to add system variables:

  3. Use maya launcher to start maya with chosen environment and maya release.

$ mayalauncher some_file.ma -env YOUR_ENV -v 2016

Config file

When running mayalauncher the first time it will not try to launch maya. It will create the config file. To edit the file use the command:

mayalauncher -e

This will most likely prompt you to choose an application to open it with, your preferred text editor perhaps.

# This is the default state of the config.

[defaults]
executable=
environment=

[patterns]
exclude = __*, *.
icon_ext = xpm, png, bmp, jpeg

[environments]

[executables]

This is how it might look edited.

# Defaults specifies which executable and environment
# to use when no argument has been provided.
#
# NOTE: If executable is empty mayalauncher will try to
#       find the latest Maya release to launch.
[defaults]
executable=2011
environment=MAYA_DEV

# Patterns come in two fold:
#
# exclude: Define patterns to exclude while walking a directory
#          structure. Useful when you don't want to jump down
#          and look through git folders.
# icon_ext: What image extensions to look for while searching for
#           xbmlang paths.
[patterns]
exclude = __*, *.git,
icon_ext = xpm, png, bmp, jpeg, jpg


# Specify environments that mayalauncher can use, follow format:
# `environment_name=path/to/rootpath, path2/to/otherroot`
[environments]
MAYA_USER=c:\users\<user>\documents\maya\scripts, g:/scripts, g:/tools/scripts
PYTHON_DEV=g:\dev\maya, c:\python27\lib\site-packages

# Hardcoded paths to maya executables. The preferred way to
# format is:
# release_year=/path/to/executable
[executables]
2015=%PROGRAMFILES%/Autodesk/Maya2015/bin/maya.exe
2014=%PROGRAMFILES%/Autodesk/Maya2014/bin/maya.exe
2011=%PROGRAMFILES%/Autodesk/Maya2011/bin/maya.exe

Resources

Release History

Release History

0.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0.dev2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0.dev1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.9

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.5b

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mayalauncher-0.2.0-py2-none-any.whl (12.2 kB) Copy SHA256 Checksum SHA256 py2 Wheel Aug 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting