flatironinstitute / FMM3D

Flatiron Institute Fast Multipole Libraries --- This codebase is a set of libraries to compute N-body interactions governed by the Laplace and Helmholtz equations, to a specified precision, in three dimensions, on a multi-core shared-memory machine.
https://fmm3d.readthedocs.io
Other
91 stars 36 forks source link

Building python wheels on Github Actions #9

Closed guilhermebs closed 4 years ago

guilhermebs commented 4 years ago

Hello,

I'm a developer of an open-source software that simulates electromagnetic fields for biomedical applications. We are interested in using FMM3D, and to facilitate the installation of the FMM3D Python package, I created some Github Actions which will:

1) Build fmm3dpy as a python wheel in Windows, MacOS and Linux 2) Bundle all external dependencies (e.g. libgfortran) 3) Test the packages

The wheels should be compatible with python ≥ 3.6 in

If you are interested, I can also add a section which uploads the wheels to https://pypi.org/. With that in place, users should be able to install it by typing pip install fmm3dpy

mrachh commented 4 years ago

Hi, Thanks a lot for this contribution. It is a great addition to the library. We will be merging these changes into the library shortly.

If you could add the section which uploads the wheels to pypi.org, then that would be wonderful.

Thanks again.

guilhermebs commented 4 years ago

Hi, Great! Right now I'm on vacation but I will be back to work by the end of the week. I could make it only upload to pypi if a new tag is pushed, so that you have more control over the releases. Would that be ok with you?

guilhermebs commented 4 years ago

Further changes:

Also, It would be great if one of the main developers made an account in PyPI so that I could transfer ownership of the project.

mrachh commented 4 years ago

That's excellent. Thanks a lot. Apologies for the delay in merging the request.

I've created an account on pypi, you can transfer it to username: manasrachh, email: mrachh@flatironinstitute.org

guilhermebs commented 4 years ago

I've added you as a project owner. Please feel free to remove or downgrade my permissions, or create your own API token to replace mine in the repository secrets.

You guys have a great package and have been very quick and open to my suggestions. Thanks a lot!

guilhermebs commented 4 years ago

In the last few days I tested the libraries in an older MacOS version (10.14) and several Linux distributions. I found some problems in the binaries which are now fixed.

mrachh commented 4 years ago

Apologies for the delay in reply. Thank you very much for your contribution! This has been super helpful! We will be merging it into the main branch shortly. Apologies for the delay in that..

guilhermebs commented 4 years ago

No big deal! Thanks a lot for this library, it is really great. We will soon release a new version of our program SimNIBS with FMM features, and it has been working wonderfully.