[package]
title = "OmniGraph Tools"
# Note that for this extension the semantic versioning is interpreted slightly differently as it has to be concerned
# with the public Python API, the content of the generated code, and the .ogn format. Ordinarily the versioning of the
# generated code would be handled by a dependency on a particular version of omni.graph/omni.graph.core, however as
# this extension cannot see them the dependency has to be managed manually.
#
#    MAJOR VERSION: Changes are made to the generated code, OGN format, or the public API that are not backward compatible.
#                   i.e. the user has to change some of their code to make it work with the new version
#
#    MINOR VERSION: 1. A change is made to the Python API that is backward compatible with no user changes
#                   2. A change is made to the .ogn format that is backward compatible with no user changes
#                   3. A change is made that would require regeneration of the Python node database at runtime in order
#                     to ensure backward compatibility, but with no user changes required to the .ogn or node files.
#                     e.g. extra runtime information is added to the database
#
#    PATCH VERSION: 1. A change is made to the implementation of the Python API that does not change functionality
#                   2. A change is made to the .ogn parsing that does not change the generated code
#
version = "1.17.2"
category = "Graph"
readme = "docs/README.md"
changelog = "docs/CHANGELOG.md"
description = "Contains the implementation of the Omniverse Graph node generator scripts."
repository = ""
keywords = ["kit", "omnigraph", "tools"]
authors = ["NVIDIA"]

# The tools are used for the build and so have no dependencies
[dependencies]
"omni.usd.libs" = {}
"omni.kit.pip_archive" = {}

# For AutoNode - to be removed after the deprecation support is removed from omni.graph.tools/python/_impl/v1_2_0/autograph
[python.pipapi]
requirements = [
    "numpy", # SWIPAT filed under: http://nvbugs/3193231
    "toml",  # SWIPAT filed under: http://nvbugs/3060676
]

# Main python module this extension provides, it will be publicly available as "import omni.graph.tools".
[[python.module]]
name = "omni.graph.tools"

[documentation]
deps = [
    ["kit-sdk", "_build/docs/kit-sdk/latest"], # WAR to include omni.graph.tutorial/etc refs until that workflow is moved
]
pages = [
    "docs/Overview.md",
    "docs/node_architects_guide.rst",
    "docs/ogn_user_guide.rst",
    "docs/ogn_reference_guide.rst",
    "docs/attribute_types.rst",
    "docs/ogn_code_samples_cpp.rst",
    "docs/ogn_code_samples_python.rst",
    "docs/ogn_generation_script.rst",
    "docs/CHANGELOG.md",
]
