holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
567 stars 33 forks source link

Building myself to add modules #326

Closed isoboroff closed 6 months ago

isoboroff commented 6 months ago

Is there a README that explains building the project from source, and specifically the process of adding new packages?

I know the main page says to file an issue to request a package be built in, but I got to wondering if I could do this myself if I built the app from source. But my Xcode-fu is not enough to figure out by reading the source.

Is it very difficult?

holzschu commented 6 months ago

It is very difficult. The main challenge is actually to build cpython (https://github.com/holzschu/cpython/), which is very difficult to setup for every single system (which Xcode version, which packages are installed locally,...)

If the packages you aim for require scipy, you will need a Fortran compiler, and then it becomes impossible: there are no Fortran compiler for iOS, except the one I compiled myself from the gcc source code. When flang is released, I hope to make a more portable version of the code.

isoboroff commented 6 months ago

Thank you, that’s informative.