Install pyCraft from pinned Git revision
This commit is contained in:
1 parent
e989e23b73
commit
ce744da9bb
4 files changed
+53
-47
No files matched your search
@@ -8,16 +8,20 @@ inventory and chests, sleep and eat, and respond to nearby threats.
|
||||
|
||||
## Setup
|
||||
|
||||
Requirements: Python 3.11+ and the sibling `../pyCraft` checkout.
|
||||
Requirements: Python 3.11+ and `uv`.
|
||||
|
||||
From the repository root:
|
||||
|
||||
```sh
|
||||
uv venv env
|
||||
source env/bin/activate
|
||||
uv pip install --python env/bin/python astar flask flask-cors munch watchdog -e ../pyCraft
|
||||
uv pip install -r requirements.txt
|
||||
```
|
||||
|
||||
This installs `pyCraft` from the pinned Git revision. To develop against a
|
||||
sibling checkout at `../pyCraft`, use `uv pip install -r requirements-dev.txt`
|
||||
instead; it installs that checkout in editable mode.
|
||||
|
||||
## Run
|
||||
|
||||
For a local offline-mode server:
|
||||
|
||||
Reference in new issue
Block a user