Add pyproject.toml
Browse files- pyproject.toml +80 -0
pyproject.toml
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (c) Space Robotics Lab, SnT, University of Luxembourg, SpaceR
|
| 2 |
+
# RANS: arXiv:2310.07393 — OpenEnv-compatible implementation
|
| 3 |
+
|
| 4 |
+
[build-system]
|
| 5 |
+
requires = ["setuptools>=45", "wheel"]
|
| 6 |
+
build-backend = "setuptools.build_meta"
|
| 7 |
+
|
| 8 |
+
[project]
|
| 9 |
+
name = "openenv-rans-env"
|
| 10 |
+
version = "1.0.0"
|
| 11 |
+
description = "RANS spacecraft navigation environment for OpenEnv (arXiv:2310.07393)"
|
| 12 |
+
readme = "README.md"
|
| 13 |
+
requires-python = ">=3.10"
|
| 14 |
+
license = { text = "GPL-3.0" }
|
| 15 |
+
authors = [
|
| 16 |
+
{ name = "Matteo El-Hariry" },
|
| 17 |
+
{ name = "Antoine Richard", email = "antoine.richard@uni.lu" },
|
| 18 |
+
{ name = "Miguel Olivares-Mendez" },
|
| 19 |
+
]
|
| 20 |
+
keywords = ["reinforcement-learning", "spacecraft", "robotics", "simulation", "openenv"]
|
| 21 |
+
classifiers = [
|
| 22 |
+
"Development Status :: 4 - Beta",
|
| 23 |
+
"Intended Audience :: Science/Research",
|
| 24 |
+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
| 25 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 26 |
+
"Topic :: Scientific/Engineering :: Physics",
|
| 27 |
+
]
|
| 28 |
+
dependencies = [
|
| 29 |
+
# OpenEnv core (server + client utilities)
|
| 30 |
+
"openenv-core[core]>=0.2.1",
|
| 31 |
+
# Web server
|
| 32 |
+
"fastapi>=0.115.0",
|
| 33 |
+
"uvicorn>=0.24.0",
|
| 34 |
+
"pydantic>=2.0.0",
|
| 35 |
+
# Numeric / scientific
|
| 36 |
+
"numpy>=1.24.0",
|
| 37 |
+
# HTTP client
|
| 38 |
+
"requests>=2.31.0",
|
| 39 |
+
]
|
| 40 |
+
|
| 41 |
+
[project.optional-dependencies]
|
| 42 |
+
dev = [
|
| 43 |
+
"pytest>=8.0.0",
|
| 44 |
+
"pytest-cov>=4.0.0",
|
| 45 |
+
"pytest-asyncio>=0.23.0",
|
| 46 |
+
]
|
| 47 |
+
# Training with the built-in PPO example and Gymnasium wrapper
|
| 48 |
+
train = [
|
| 49 |
+
"torch>=2.0.0",
|
| 50 |
+
"gymnasium>=0.29.0",
|
| 51 |
+
]
|
| 52 |
+
# Stable-Baselines3 integration (via gymnasium wrapper)
|
| 53 |
+
sb3 = [
|
| 54 |
+
"torch>=2.0.0",
|
| 55 |
+
"gymnasium>=0.29.0",
|
| 56 |
+
"stable-baselines3>=2.0.0",
|
| 57 |
+
]
|
| 58 |
+
# Optional: full Isaac Gym / OmniIsaacGymEnvs GPU backend
|
| 59 |
+
# (requires a valid NVIDIA Isaac Sim 2023.1.1 installation)
|
| 60 |
+
gpu = [
|
| 61 |
+
"torch>=2.0.0",
|
| 62 |
+
]
|
| 63 |
+
|
| 64 |
+
[project.urls]
|
| 65 |
+
"Paper" = "https://arxiv.org/abs/2310.07393"
|
| 66 |
+
"Repository" = "https://github.com/elharirymatteo/RANS"
|
| 67 |
+
"OpenEnv" = "https://github.com/meta-pytorch/OpenEnv"
|
| 68 |
+
|
| 69 |
+
[project.scripts]
|
| 70 |
+
# Enables: uv run --project . server
|
| 71 |
+
server = "rans_env.server.app:main"
|
| 72 |
+
|
| 73 |
+
[tool.setuptools]
|
| 74 |
+
include-package-data = true
|
| 75 |
+
packages = [
|
| 76 |
+
"rans_env",
|
| 77 |
+
"rans_env.server",
|
| 78 |
+
"rans_env.server.tasks",
|
| 79 |
+
]
|
| 80 |
+
package-dir = { "rans_env" = ".", "rans_env.server" = "server", "rans_env.server.tasks" = "server/tasks" }
|