[package]
title = "OmniGraph Action Graph"
version = "1.31.1"
category = "Graph"
feature = true
# Preview image. Folder named "data" automatically goes in git lfs (see .gitattributes file).
preview_image = "data/preview.png"
# Path (relative to the root) of the main documentation file.
readme = "docs/README.md"
changelog = "docs/CHANGELOG.md"
description = "Contains nodes for Omnigraph Action Graphs."
repository = ""
keywords = ["omnigraph", "nodes", "action"]

# Main module for the Python interface
[[python.module]]
name = "omni.graph.action"

# Watch the .ogn files for hot reloading (only works for Python files)
[fswatcher.patterns]
include = ["*.ogn", "*.py"]
exclude = ["Ogn*Database.py"]

# Other extensions that need to load before this one
[dependencies]
"omni.usd" = { version = "1.4.8" }
"omni.kit.async_engine" = {}
"omni.kit.commands" = {}
"omni.graph" = {}
"omni.graph.ui" = { optional = true }
"omni.graph.tools" = {}
"omni.kit.stage_templates" = {}
"omni.kit.pipapi" = {}
"omni.kit.window.filepicker" = { optional = true }

[[native.plugin]]
path = "bin/*.plugin"
recursive = false

# numpy is used by tests
[python.pipapi]
requirements = ["numpy"] # SWIPAT filed under: http://nvbugs/3193231

[[test]]
timeout = 300
stdoutFailPatterns.exclude = [
    # Exclude carb.events leak that only shows up locally
    "*[Error] [carb.events.plugin]*PooledAllocator*",
]
dependencies = [
    # Required for gamepad node test
    "omni.appwindow",
    # Convenience for tests
    "omni.graph.nodes",
    "omni.inspect"
]

[documentation]
deps = [
    ["kit-sdk", "_build/docs/kit-sdk/latest"], # WAR to include OGN nodes until that workflow is moved
    ["omni.ui", "_build/docs/omni.ui/latest"], # ui_nodes.md references
]
pages = [
    "docs/Overview.md",
    "docs/ui_nodes.md",
    "docs/CHANGELOG.md",
]
