Contributed rez script

Rotobot OpenFX Plugin Forums Support Networked Installs Contributed rez script

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  webuserkognat 9 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #283

    webuserkognat
    Keymaster
    user@mtl-rmw001l rotobot $ cat package.py 
    # pylint: disable=invalid-name
    name = 'rotobot'
    
    version = '1.1.0'
    
    authors = ['Kognat']
    
    description = 'AI driven rough rotoscoping OFX plugin.'
    
    requires = ['nuke-10+']
    
    # Requirements used during the build process only.
    # Here "rdo_package_utils" is our library used to build packages.
    private_build_requires = ['rdo_package_utils']
    
    uuid = ''
    
    # This tells to rez how to build the package.
    build_command = 'python {root}/build.py'
    
    def commands():
        """Commands that will be ran at the execution of rez-env."""
        import os
        env = locals()['env']  # silence linters
        pluginLocation = os.path.join('{root}', 'resources', 'linux', 'nuke')
        env.OFX_PLUGIN_PATH.append(pluginLocation)
        env.ROTOBOT_MODEL_DIR.append(pluginLocation)
        env.kognat_LICENSE.append('8053@licsrv01')

    So to be clear

    The Rotobot Model Directory environment variable ROTOBOT_MODEL_DIR will contain the .pb extension files

    The OpenFX Plugin Directory OFX_PLUGIN_PATH will contain the folder containing the bundle rotobot.ofx.bundle

    The kognat_LICENSE is used by RLM where kognat is the ISV in the Reprise documentation. In the example it is port@host the port is specified in the license and the host will be where the RLM service is running.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.