To install from source, you will need to have Rust
and maturin
installed.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
pip install maturin
git clone https://github.com/kjnapier/spacerocks
cd spacerocks
git checkout v3
cd py_spacerocks
maturin develop --release
You will also need to have cspice
installed on your system, and add its location to your path as
export CSPICE_DIR="/path/to/cspice"
You might also need to rename cspice/lib/cspice.a
to cspice/lib/libcspice.a
if you are on a Unix system.
We actually use very few of the cspice
functions, so it should be possible to remove this dependency in the future.
If you would like to help with this, please send a message!
Testing! Tom ruch 12/9 Need to rename c.toml to cargo.toml when we want to reintroduce py-spacerocks