diff options
| author | Gus Smith <gus@normalcomputing.ai> | 2026-05-29 10:34:10 -0700 |
|---|---|---|
| committer | Gus Smith <gus@normalcomputing.ai> | 2026-05-29 10:34:10 -0700 |
| commit | 307d3a98c1bc83ed4dbcd8156d845d11ae3eaa27 (patch) | |
| tree | 311914aa448052c36889136ffaa8ff79eb057fca | |
| parent | ec9d9e6e7fbe7623d27069789a6a0380a2feb1c2 (diff) | |
| download | dram-bender-307d3a98c1bc83ed4dbcd8156d845d11ae3eaa27.tar.gz | |
Add readme
| -rw-r--r-- | sources/api/pySoftMC/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sources/api/pySoftMC/README.md b/sources/api/pySoftMC/README.md new file mode 100644 index 0000000..3565d46 --- /dev/null +++ b/sources/api/pySoftMC/README.md @@ -0,0 +1,21 @@ +# pySoftMC + +Python bindings for the DRAM Bender API via pybind11. + +## Building with `make` + +Requires the pybind11 submodule (`git clone --recursive` or `git submodule update --init --recursive`) and a system Python installation with headers at `/usr/include/python3.X`. + +``` +make +``` + +## Building with `setup.py` + +A more portable alternative that works with virtual environments and pyenv: + +``` +python3 setup.py build_ext --inplace +``` + +This uses the active Python interpreter's own build machinery, so it works regardless of where Python is installed. |
