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
|
## Setup
|
||||||
|
|
||||||
Requirements: Python 3.11+ and the sibling `../pyCraft` checkout.
|
Requirements: Python 3.11+ and `uv`.
|
||||||
|
|
||||||
From the repository root:
|
From the repository root:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
uv venv env
|
uv venv env
|
||||||
source env/bin/activate
|
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
|
## Run
|
||||||
|
|
||||||
For a local offline-mode server:
|
For a local offline-mode server:
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
appdirs==1.4.4
|
||||||
|
astar==0.93
|
||||||
|
CacheControl==0.12.6
|
||||||
|
certifi==2020.12.5
|
||||||
|
cffi==1.14.5
|
||||||
|
chardet==4.0.0
|
||||||
|
click==7.1.2
|
||||||
|
colorama==0.4.4
|
||||||
|
contextlib2==0.6.0.post1
|
||||||
|
cryptography==3.4.7
|
||||||
|
distlib==0.3.1
|
||||||
|
distro==1.5.0
|
||||||
|
Flask==1.1.2
|
||||||
|
Flask-Cors==3.0.10
|
||||||
|
html5lib==1.1
|
||||||
|
idna==2.10
|
||||||
|
importlib-metadata==4.0.1
|
||||||
|
ipaddr==2.2.0
|
||||||
|
itsdangerous==1.1.0
|
||||||
|
Jinja2==2.11.3
|
||||||
|
lockfile==0.12.2
|
||||||
|
MarkupSafe==1.1.1
|
||||||
|
minecraft-data==2.82.2
|
||||||
|
msgpack==1.0.2
|
||||||
|
munch==2.5.0
|
||||||
|
mutf8==1.0.3
|
||||||
|
packaging==20.9
|
||||||
|
pep517==0.10.0
|
||||||
|
progress==1.5
|
||||||
|
pycparser==2.20
|
||||||
|
PyNBT==3.1.0
|
||||||
|
pyparsing==2.4.7
|
||||||
|
pytoml==0.1.21
|
||||||
|
requests==2.25.1
|
||||||
|
retrying==1.3.3
|
||||||
|
six==1.15.0
|
||||||
|
toml==0.10.2
|
||||||
|
typing-extensions==3.7.4.3
|
||||||
|
urllib3==1.26.4
|
||||||
|
watchdog==2.0.3
|
||||||
|
webencodings==0.5.1
|
||||||
|
Werkzeug==1.0.1
|
||||||
|
zipp==3.4.1
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
-r requirements-base.txt
|
||||||
|
-e ../pyCraft
|
||||||
+2
-45
@@ -1,45 +1,2 @@
|
|||||||
appdirs==1.4.4
|
-r requirements-base.txt
|
||||||
astar==0.93
|
pyCraft @ git+https://git.tanner.vc/tanner/pyCraft.git@169a77bacdda136c8aca3d99331ebf4f7756f205
|
||||||
CacheControl==0.12.6
|
|
||||||
certifi==2020.12.5
|
|
||||||
cffi==1.14.5
|
|
||||||
chardet==4.0.0
|
|
||||||
click==7.1.2
|
|
||||||
colorama==0.4.4
|
|
||||||
contextlib2==0.6.0.post1
|
|
||||||
cryptography==3.4.7
|
|
||||||
distlib==0.3.1
|
|
||||||
distro==1.5.0
|
|
||||||
Flask==1.1.2
|
|
||||||
Flask-Cors==3.0.10
|
|
||||||
html5lib==1.1
|
|
||||||
idna==2.10
|
|
||||||
importlib-metadata==4.0.1
|
|
||||||
ipaddr==2.2.0
|
|
||||||
itsdangerous==1.1.0
|
|
||||||
Jinja2==2.11.3
|
|
||||||
lockfile==0.12.2
|
|
||||||
MarkupSafe==1.1.1
|
|
||||||
minecraft-data==2.82.2
|
|
||||||
msgpack==1.0.2
|
|
||||||
munch==2.5.0
|
|
||||||
mutf8==1.0.3
|
|
||||||
packaging==20.9
|
|
||||||
pep517==0.10.0
|
|
||||||
pkg-resources==0.0.0
|
|
||||||
progress==1.5
|
|
||||||
pycparser==2.20
|
|
||||||
-e ../pyCraft
|
|
||||||
PyNBT==3.1.0
|
|
||||||
pyparsing==2.4.7
|
|
||||||
pytoml==0.1.21
|
|
||||||
requests==2.25.1
|
|
||||||
retrying==1.3.3
|
|
||||||
six==1.15.0
|
|
||||||
toml==0.10.2
|
|
||||||
typing-extensions==3.7.4.3
|
|
||||||
urllib3==1.26.4
|
|
||||||
watchdog==2.0.3
|
|
||||||
webencodings==0.5.1
|
|
||||||
Werkzeug==1.0.1
|
|
||||||
zipp==3.4.1
|
|
||||||
Reference in new issue
Block a user