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
+7-18Lines changed: 7 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,34 +4,23 @@
4
4
5
5
## Installation
6
6
7
-
You need [uv](https://docs.astral.sh/uv/) and a Python that satisfies **`>=3.11`** (see `pyproject.toml`).
7
+
You need [uv](https://docs.astral.sh/uv/) and a Python that satisfies `>=3.11`.
8
8
9
9
1. Create a virtual environment with a fixed Python version (run this in the directory where you want `.venv`, e.g. the repo root for a clone):
10
-
11
-
```bash
10
+
```bash
12
11
uv venv --python 3.11 # or 3.12 or 3.13
13
-
```
14
-
12
+
```
15
13
2. Activate it. On Linux or macOS:
16
-
17
-
```bash
14
+
```bash
18
15
source .venv/bin/activate
19
-
```
20
-
16
+
```
21
17
On Windows, use `.venv\Scripts\activate` (cmd) or `.\.venv\Scripts\Activate.ps1` (PowerShell).
22
-
23
18
3. Install into that environment, using the published package from PyPI:
24
-
25
-
```bash
19
+
```bash
26
20
uv pip install dynamicsyntax
27
-
```
28
-
21
+
```
29
22
or editable install from a git clone:
30
23
31
-
```bash
32
-
uv pip install -e .
33
-
```
34
-
35
24
## Examples
36
25
37
26
For some code examples, please see [this Google Colab notebook](https://colab.research.google.com/drive/1ofpCLwLOE88AvbtR3gh5uisaYkpWGNP9?usp=sharing).
0 commit comments