# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md). # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause """Installation script for the 'isaaclab_teleop' python package.""" import os import toml from setuptools import find_packages, setup # Obtain the extension data from the extension.toml file EXTENSION_PATH = os.path.dirname(os.path.realpath(__file__)) # Read the extension.toml file EXTENSION_TOML_DATA = toml.load(os.path.join(EXTENSION_PATH, "config", "extension.toml")) SUPPORTED_ARCHS = "platform_machine in 'x86_64,AMD64'" # Minimum dependencies required prior to installation INSTALL_REQUIRES = [ # IsaacTeleop is only available on Linux x86_64 f"isaacteleop[retargeters,ui,cloudxr]~=1.3.0 ; platform_system == 'Linux' and ({SUPPORTED_ARCHS})", # required by isaaclab.devices.openxr.retargeters.humanoid.fourier.gr1_t2_dex_retargeting_utils f"dex-retargeting==0.5.0 ; platform_system == 'Linux' and ({SUPPORTED_ARCHS})", ] # Installation operation setup( name="isaaclab_teleop", author="Isaac Lab Project Developers", maintainer="Isaac Lab Project Developers", url=EXTENSION_TOML_DATA["package"]["repository"], version=EXTENSION_TOML_DATA["package"]["version"], description=EXTENSION_TOML_DATA["package"]["description"], keywords=EXTENSION_TOML_DATA["package"]["keywords"], include_package_data=True, package_data={"": ["*.pyi", "*.env"]}, python_requires=">=3.12", install_requires=INSTALL_REQUIRES, packages=find_packages(), classifiers=[ "Natural Language :: English", "Programming Language :: Python :: 3.12", "Isaac Sim :: 6.0.0", ], zip_safe=False, )