You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -13,7 +13,7 @@ Developer can start writing code without wasting so much time to set up basic st
13
13
14
14
-[Usage](#usage)
15
15
-[Installation](#installation)
16
-
-[Install Poetry](#install-poetry)
16
+
-[Install uv](#install-uv)
17
17
-[Configuration](#configuration)
18
18
-[Architecture](#architecture)
19
19
-[Project Layout](#project-layout)
@@ -31,22 +31,22 @@ We recommand to use GitHub's `Use this template` button to kick off this templat
31
31
But yet, you can set up copy this template by cloning or downloading this repository.
32
32
33
33
Once you prepared this repository on your local machine, remaining part is project configuration.
34
-
Unless you are familiar with stacks(poetry, tox, GitHub action, etc.),
34
+
Unless you are familiar with stacks(uv, tox, GitHub action, etc.),
35
35
Subsequent Installation step might be helpful.
36
36
37
37
---
38
38
39
39
## Installation
40
40
41
-
### Install Poetry
41
+
### Install uv
42
42
43
-
Please read this [installation guide](https://python-poetry.org/docs/) to install poetry.
43
+
Please read this [installation guide](https://docs.astral.sh/uv/getting-started/installation/) to install uv.
44
44
45
45
Then install package dependencies with this command at project root.
46
-
This will resolve package dependencies and install it in poetry managed virtual environment.
46
+
This will resolve package dependencies and install it in uv managed virtual environment.
47
47
48
48
```shell
49
-
poetry install
49
+
uv sync --group dev
50
50
```
51
51
52
52
### (Optional) Install Pyenv
@@ -60,14 +60,14 @@ As quoted [pyenv readme](https://github.com/pyenv/pyenv/blob/master/README.md) d
60
60
61
61
#### pyproject.toml
62
62
63
-
This file contains build system requirements and information, which are used by poetry to build the package.
63
+
This file contains build system requirements and information, which are used by hatchling to build the package.
64
64
We tried to gather every package related settings as much as possible here.
65
-
Through this design decision, project could remove package dependant configuration files like `.isort.cfg`, `pytest.ini`, etc.
65
+
Through this design decision, project could remove package dependant configuration files like `pytest.ini`, etc.
66
66
67
-
-**[tool.poetry]**: Describe package's metadata. Including package name, versions, dscription, authors etc.
68
-
-**[tool.poetry.dependencies]**, **[tool.poetry.dev-dependencies]**: Manage package's dependencies. Poetry will check this section to resolve requirements version.
69
-
-**[build-system]**: Define how to build package. Generally no need to edit this section.
70
-
-**[tool.isort]**, **[tool.black]**: By Editing this part, you can set how linting library should work.
67
+
-**[project]**: Describe package's metadata following PEP 621. Including package name, versions, description, authors etc.
68
+
-**[dependency-groups]**: Manage dev dependencies following PEP 735.
69
+
-**[build-system]**: Define how to build package using hatchling. Generally no need to edit this section.
70
+
-**[tool.ruff]**: Linting and formatting configuration using ruff.
0 commit comments