-
Notifications
You must be signed in to change notification settings - Fork 35
Setting up a development environment
Colin B. Macdonald edited this page Oct 17, 2021
·
4 revisions
This software involves some IPC with SymPy which makes debugging complicated.
Here is one of the main dev's workflow: feel free to edit or add alternatives!
Setting up in-tree development use while also possibly using
cd src # or whereever you keep your code
git clone https://github.com/cbm755/octsympy.git
git clone https://github.com/sympy/sympy.git
cd octsympy/inst/
# symlink the sympy module to inside the inst dir
ln -s ~/src/sympy/sympy sympy
octave
That is, Octave is running inside the inst dir.
- Some code can then be changed on the fly, requiring a
sympref reset. - But there is also a little dance of clearing Octave's object cache, which I can't recall at the moment. This is needed if you modify files inside
@sym/for example. TODO: doc this better! - Now one can change SymPy branches (by just changing into sympy and
git switch ...or whatever).
Are you using something different? Feel free to describe it here!