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
Copy file name to clipboardExpand all lines: README.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,30 +46,36 @@ This will resolve package dependencies and install it in poetry managed virtual
46
46
$ poetry install
47
47
```
48
48
49
+
### (Optional) Install Pyenv
50
+
> pyenv lets you easily switch between multiple versions of Python.
51
+
It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.
52
+
53
+
As quoted pyenv readme demonstrates, It provide us handy python version management.
54
+
49
55
### Configuration
50
56
51
57
#### pyproject.toml
52
58
This file contains build system requirements and information, which are used by poetry to build the package.
53
59
We tried to gather every package related settings as much as possible here.
54
-
Through this design decision, project could keep configuration files as little as possible.
60
+
Through this design decision, project could remove package dependant configuration files like `.isort.cfg`, `pytest.ini`, etc.
55
61
56
62
-**[tool.poetry]**: Describe package's metadata. Including package name, versions, dscription, authors etc.
57
63
-**[tool.poetry.dependencies]**, **[tool.poetry.dev-dependencies]**: Manage package's dependencies. Poetry will check this section to resolve requirements version.
58
64
-**[build-system]**: Define how to build package. Generally no need to edit this section.
59
65
-**[tool.isort]**, **[tool.black]**: By Editing this part, you can set how linting library should work.
0 commit comments