-
Notifications
You must be signed in to change notification settings - Fork 1
refactor: migrate to uv #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,11 +15,27 @@ Neuracore is a powerful robotics and machine learning client library for seamles | |
|
|
||
| ## Installation | ||
|
|
||
| ### Using uv (recommended) | ||
|
|
||
| ```bash | ||
| pip install neuracore | ||
| uv add neuracore | ||
|
||
| ``` | ||
|
|
||
| **Note:** for faster video decoding, installing `ffmpeg` via `sudo apt-get install ffmpeg` (for Linux) is recommended. | ||
| For training and ML development: | ||
| ```bash | ||
| uv add neuracore[ml] | ||
| ``` | ||
|
|
||
| For MuJoCo MJCF support: | ||
| ```bash | ||
| uv add neuracore[mjcf] | ||
| ``` | ||
|
|
||
| ### Using pip | ||
|
|
||
| ```bash | ||
| pip install neuracore | ||
| ``` | ||
|
|
||
| For training and ML development: | ||
| ```bash | ||
|
|
@@ -31,6 +47,8 @@ For MuJoCo MJCF support: | |
| pip install neuracore[mjcf] | ||
| ``` | ||
|
|
||
| **Note:** for faster video decoding, installing `ffmpeg` via `sudo apt-get install ffmpeg` (for Linux) is recommended. | ||
|
|
||
| ## Quick Start | ||
|
|
||
| Ensure you have an account at [neuracore.app](https://www.neuracore.app/) | ||
|
|
@@ -384,14 +402,14 @@ Configure Neuracore behavior with environment variables (case insensitive, prefi | |
| ```bash | ||
| git clone https://github.com/neuracoreai/neuracore | ||
| cd neuracore | ||
| pip install -e .[dev,ml] | ||
| uv sync --extra ml # Creates .venv and installs all dependencies | ||
| ``` | ||
|
|
||
| ## Testing | ||
|
|
||
| ```bash | ||
| export NEURACORE_API_URL=http://localhost:8000/api | ||
| pytest tests/ | ||
| uv run pytest tests/ | ||
| ``` | ||
|
|
||
| If testing on Mac, you may need to set: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command
uv version --bumpmay not be correct syntax. Based on uv's CLI, version bumping might require a different command format. Verify thatuv version --bump major|minor|patchis the correct syntax, as the documentation typically shows commands likeuv versionto display the current version. This could cause the version bump workflow to fail.