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: CLAUDE.md
+11-21Lines changed: 11 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,22 @@ DawDreamer is a Digital Audio Workstation (DAW) framework for Python enabling pr
8
8
9
9
---
10
10
11
-
## Quick Install (Library Already Built)
11
+
## Quick Install
12
12
13
-
If `dawdreamer/dawdreamer.so` exists:
13
+
`setup.py` handles the full flow: building C++ (if needed), copying the `.so`, and installing. It detects source changes and skips recompilation when up-to-date.
**WSL2 Note**: First install takes several minutes (C++ build + processing Faust libraries). Subsequent installs skip the C++ build if sources haven't changed.
`setup.py` handles the full flow: building C++ via `make`, copying the `.so`, and installing the Python package. If the C++ sources haven't changed since the last build, it skips recompilation.
172
+
173
+
```bash
174
+
pip install -e .
175
+
```
176
+
177
+
To build manually (e.g., for debugging):
170
178
```bash
171
179
cd Builds/LinuxMakefile
172
180
make CONFIG=Release CXXFLAGS="-I$PYTHONINCLUDEPATH" LDFLAGS="-L$PYTHONLIBPATH"
`setup.py` copies this to `dawdreamer/dawdreamer.so` automatically.
177
186
178
-
#### Install Python Package:
187
+
**WSL2 Note**: The `make` build system may not detect source changes across the Windows/Linux filesystem boundary due to timestamp caching. If changes aren't picked up, delete the build directory first:
179
188
```bash
180
-
python3 setup.py develop
181
-
# Or for wheel: python3 -m build --wheel
189
+
rm -rf Builds/LinuxMakefile/build
182
190
```
183
191
184
192
### macOS
@@ -262,11 +270,12 @@ See [Issue #82](https://github.com/DBraun/DawDreamer/issues/82#issuecomment-1097
262
270
### Modifying C++ Source
263
271
264
272
1. Edit source files in `Source/`
265
-
2.Open`DawDreamer.jucer` with [JUCE Projucer](https://juce.com/get-juce)
273
+
2.If adding/removing files, open`DawDreamer.jucer` with [JUCE Projucer](https://juce.com/get-juce)
0 commit comments