Skip to content

Commit 883ea01

Browse files
committed
Instructions for installing, running tests, and building package
1 parent a46ea60 commit 883ea01

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,33 @@ This library is the foundation for [MIKE IO](https://github.com/DHI/mikeio).
1616
## Installation
1717

1818
```pip install mikecore```
19-
```
19+
20+
## Development
21+
22+
All commands are run from the project root.
23+
24+
1. **Sync & Build**
25+
```bash
26+
uv sync
27+
# Use 'uv sync --reinstall' to force-rebuild native components.
28+
```
29+
30+
2. **Update EUM Types** (for new release, or whenever EUM.xml changes)
31+
```bash
32+
# Generate definitions from the new native build
33+
uv run ./buildUtil/eumXMLProcess.py > eumItemUnit.txt
34+
35+
# Use a diff tool to merge changes into mikecore/eum.py.
36+
```
37+
38+
3. **Run Tests**
39+
```bash
40+
uv run pytest
41+
```
42+
43+
4. **Build Packages** (Optional)
44+
```bash
45+
uv build
46+
```
2047

2148

0 commit comments

Comments
 (0)