Skip to content

Commit 85aa005

Browse files
peterpeter
authored andcommitted
some cleanup/clarifications one project maintenance, building, etc...
1 parent 4b8341a commit 85aa005

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- name: Run Ruff linting
2424
run: hatch run ruff check .
2525

26-
2726
# test:
2827
# needs: lint
2928
# strategy:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ repos:
1919
- id: check-merge-conflict
2020

2121
default_language_version:
22-
python: python3.8
22+
python: python3.12

Makefile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ publish: build
2222
publish-test: build
2323
hatch publish --repo test
2424

25-
# Legacy twine commands (deprecated, use publish/publish-test)
26-
release: build
27-
twine upload --repository pypi dist/*
28-
29-
release-test: build
30-
twine upload --repository testpypi dist/*
31-
3225
# Version management (using Hatch)
3326
version:
3427
hatch version
@@ -74,7 +67,7 @@ test-cov:
7467
hatch run test:pytest --cov-report=html
7568

7669
run-demo:
77-
python3 ./examples/basicExample.py
70+
python3 ./examples/01_basic.py
7871

7972
# Pre-commit
8073
pre-commit-install:
@@ -101,4 +94,4 @@ docs-serve: fixRelativeLinkDocs
10194

10295
docs-deploy: fixRelativeLinkDocs
10396
@echo "Deploying docs..."
104-
mkdocs gh-deploy --force
97+
mkdocs gh-deploy --force

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,20 @@ export DYLD_LIBRARY_PATH=/opt/homebrew/Cellar/hidapi/<VERSION>/lib:$DYLD_LIBRARY
218218

219219
See [troubleshooting.md](./troubleshooting.md) for help with common issues.
220220

221-
## Used In
221+
## Developing / Contributing
222+
223+
This project includes a `Makefile` with commands for creating a virtual environment (using hatch), and publishing to pypi.
224+
225+
You will need `hatch` and `pre-commit` for this.
226+
You can get these by using
227+
228+
```
229+
pipx install hatch==1.15.1 pre-commit
230+
```
222231

232+
If you're not familiar with pipx, it lets you install python tools into isolated environments in `~/.local`.
233+
234+
## Used In
223235

224236
- [TeleMoMa](https://github.com/UT-Austin-RobIn/telemoma) - A Modular and Versatile Teleoperation System for Mobile Manipulation
225237
- [SERL](https://github.com/rail-berkeley/serl) - SERL: A Software Suite for Sample-Efficient Robotic Reinforcement Learning

0 commit comments

Comments
 (0)