Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build and Publish Wheel

on:
push:
branches:
- master
release:
types:
- published

jobs:
build_wheel:
name: Build wheel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"

- name: Build wheel
run: |
python -m pip install --upgrade pip build
python -m build --wheel

- uses: actions/upload-artifact@v4
with:
name: wheel
path: dist/*.whl

upload_pypi:
needs:
- build_wheel
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: wheel
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
25 changes: 8 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,18 @@ The setup is designed to stay reproducible across labs: tasks can be instantiate

## Installation

DuoBench builds on the Robot Control Stack (`rcs`) in the parent repository. A clean Python 3.11 environment is recommended. 🚀

### 1. Install RCS

Make sure common build tools and a C++ compiler such as `gcc` or `clang` are available.

### Installation from PyPI (recommended)
```shell
git clone https://github.com/RobotControlStack/robot-control-stack.git
cd robot-control-stack

conda create -n rcs python=3.11
conda activate rcs
conda install -c conda-forge urdfdom urdfdom_headers glfw

pip install 'pip>=25.1'
pip install --group build_deps
pip install -ve .
pip install duobench
```

### 2. Install DuoBench
### Installation from Source
This is recommended for developers that need to modify sources of either DuoBench or RCS.

#### 1. Install RCS
Follow the install instructions from the [RCS Repo](https://github.com/RobotControlStack/robot-control-stack) (either from PyPI or from source).

#### 2. Install DuoBench
```shell
git clone https://github.com/RobotControlStack/duobench.git
cd duobench
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ build-backend = "setuptools.build_meta"
[project]
name = "duobench"
version = "0.1.0"
description="RCS models module"
description="FR3 Duo Bimanual Manipulation Benchmark"
dependencies = [
"rcs-core>=0.7.2",
"av>=17.0.1",
"einops>=0.8.2",
"scipy>=1.15.3",
"tqdm>=4.67.3",
]
readme = "README.md"
maintainers = [
{ name = "Tobias Jülg", email = "tobias.juelg@utn.de" },
{ name = "Tobias Juelg", email = "tobias.juelg@utn.de" },
]
authors = [
{ name = "Tobias Jülg", email = "tobias.juelg@utn.de" },
{ name = "Tobias Juelg", email = "tobias.juelg@utn.de" },
]
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
Expand Down
Loading