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
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,3 +18,18 @@ To use this repository, follow the steps below:
18
18
19
19
1. Create new repository by clicking the Use this template button above.
20
20
2. Open your duplicated repository in VSCode using the command ">Dev Containers: Clone Repositories in Named Container Volume". You can name your container for easy referencing.
21
+
22
+
## mise and py-init
23
+
24
+
This devcontainer uses "mise" (a small environment/tool manager) and a convenience shell helper named `py-init` to quickly create a mise-managed Python environment and a project virtualenv.
25
+
26
+
Quick usage
27
+
- Open a new shell and cd into your project directory.
28
+
- Run:
29
+
- py-init 3.11
30
+
- or any supported version (e.g. py-init 3.10, py-init 3.13)
31
+
32
+
What py-init does
33
+
- Creates/updates a local mise.toml in the current directory.
34
+
- Uses mise to select the requested Python version.
35
+
- Configures the local virtualenv path to .venv and enables automatic creation.
0 commit comments