File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,18 @@ src/endstone_example/
5555 config.toml Default config (copied on first run)
5656```
5757
58+ ## Adding Dependencies
59+
60+ To use third-party packages from PyPI, add them to the ` dependencies ` list in ` pyproject.toml ` :
61+
62+ ``` toml
63+ [project ]
64+ dependencies = [" requests>=2.31" , " aiosqlite>=0.19" ]
65+ ```
66+
67+ Then run ` uv sync ` (or ` pip install -e . ` ) to install them. They will be bundled automatically
68+ when you build the wheel.
69+
5870## Install on a Server
5971
6072``` bash
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
55[project ]
66name = " endstone-example"
77dynamic = [" version" ]
8- dependencies = []
8+ dependencies = [] # Add third-party PyPI packages here, e.g. ["requests>=2.31"]
99authors = [
1010 { name = " Endstone Developers" , email = " hello@endstone.dev" },
1111]
You can’t perform that action at this time.
0 commit comments