def commands():
    '''Create the environment variables and aliases needed to run this product.'''
    # IMPORT THIRD-PARTY LIBRARIES
    from rezzurect import chooser

    chooser.add_common_commands(
        'houdini',
        version=str(version),
        env=env,
        alias=alias,
    )
Esempio n. 2
0
def commands():
    '''Create the environment variables and aliases needed to run this product.'''
    # IMPORT THIRD-PARTY LIBRARIES
    from rez.utils import system
    from rez import config

    with system.add_sys_paths([config.config.package_definition_python_path]):
        from rezzurect import chooser

        chooser.add_common_commands(
            'nuke',
            version=str(version),
            env=env,
            alias=alias,
        )
def commands():
    '''Create the environment variables and aliases needed to run this product.'''
    # IMPORT STANDARD LIBRARIES
    import os

    # IMPORT THIRD-PARTY LIBRARIES
    from rezzurect.utils import config_helper
    from rezzurect import chooser

    env.HOUDINI_INSTALL_ROOT = os.path.join('{root}',
                                            config_helper.INSTALL_FOLDER_NAME)

    chooser.add_common_commands(
        'houdini_installation',
        version=str(version),
        env=env,
        alias=alias,
    )