I'd love to be able to install this repo in a single command similar to pip install inverse-design. I have prepared a branch that tries to achieve that. However, I had to modify setup.py to get the local rust "sub-package" to install:
It doesn't quite seem to be supposed to be done like this...
Another option would be to separate the two into different git repos (and distribute both on pypi). However, that seems like a lot of effort to me.
I think the best way would be to build wheels for all platforms in CI for this. Maybe something similar as what I'm doing for klujax, but using Rust in stead of C++.
But your current solution is a good first implementation ;-)
I'd love to be able to install this repo in a single command similar to
pip install inverse-design
. I have prepared a branch that tries to achieve that. However, I had to modifysetup.py
to get the local rust "sub-package" to install:It doesn't quite seem to be supposed to be done like this... Another option would be to separate the two into different git repos (and distribute both on pypi). However, that seems like a lot of effort to me.
My current install prompt
It assumes rustc and cargo are installed on the system.
Using the prompt we can run our notebooks on colab also: https://colab.research.google.com/github/Jan-David-Black/inverse_design_strict_fabrication/blob/easy_install/notebooks/11_ceviche_challenges.ipynb