NanoComp / meep

free finite-difference time-domain (FDTD) software for electromagnetic simulations
GNU General Public License v2.0
1.16k stars 596 forks source link

Update meep on Pypi? #2699

Open jaredmagnusson opened 8 months ago

jaredmagnusson commented 8 months ago

Is there a way to make the latest meep installable with pip, in order to avoid the headache of building from source or requiring conda? I see a version from 2018 on Pypi but nothing later. This would be for machines that already have python environments set up and where meep would be part of a larger workflow.

oskooi commented 8 months ago

I agree that PyPI provides a more natural workflow for working with Python packages than Conda which is more geared towards one-off installations. We did consider packaging the Meep binary using PyPI in 2018 but ended up choosing Conda partly because it had better support (at the time) for Meep's non-Python library dependencies including HDF5, harminv, and MPB.

We would consider switching to PyPI if someone could put together the package itself.