Download simulation/modules/IsaacLab/source/isaaclab_tasks/setup.py from hk239/v2d: direct link, hf CLI and curl.
- Browser
- Download file 1.64 kB
-
https://huggingface.co/datasets/hk239/v2d/resolve/main/simulation/modules/IsaacLab/source/isaaclab_tasks/setup.py
- Command line
-
hf download hf://datasets/hk239/v2d/simulation/modules/IsaacLab/source/isaaclab_tasks/setup.py
-
curl -L -o setup.py https://huggingface.co/datasets/hk239/v2d/resolve/main/simulation/modules/IsaacLab/source/isaaclab_tasks/setup.py
1.64 kB
| # 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_tasks' python package.""" | |
| import os | |
| import toml | |
| from setuptools import 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")) | |
| # Minimum dependencies required prior to installation | |
| INSTALL_REQUIRES = [ | |
| # generic | |
| "numpy>=2", | |
| "torch>=2.10", | |
| "torchvision>=0.25.0", # ensure compatibility with torch 2.10.0 | |
| "protobuf>=4.25.8,!=5.26.0", | |
| # basic logger | |
| "tensorboard", | |
| ] | |
| PYTORCH_INDEX_URL = ["https://download.pytorch.org/whl/cu128"] | |
| # Installation operation | |
| setup( | |
| name="isaaclab_tasks", | |
| 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"]}, | |
| python_requires=">=3.12", | |
| install_requires=INSTALL_REQUIRES, | |
| dependency_links=PYTORCH_INDEX_URL, | |
| packages=["isaaclab_tasks"], | |
| classifiers=[ | |
| "Natural Language :: English", | |
| "Programming Language :: Python :: 3.12", | |
| "Isaac Sim :: 6.0.0", | |
| ], | |
| zip_safe=False, | |
| ) | |