esheldon / esutil

A variety of python utilities focusing on numerical, scientific, and astrophysical computing
GNU General Public License v2.0
35 stars 19 forks source link

Add pyproject.toml to have `numpy` available at install-time #77

Closed jobovy closed 1 year ago

jobovy commented 2 years ago

Here's a version of the solution I mentioned in https://github.com/esheldon/esutil/pull/76#issuecomment-1145459853, adding a pyproject.toml file to have numpy available in the setup.py file.

I also made a few other changes that I think improve the package, but that aren't necessary (the only necessary part is the addition of the pyproject.toml file):

esheldon commented 1 year ago

Sorry I let this one slip, can you please update for the newest version?

jobovy commented 1 year ago

I merged the latest master branch, can you approve the workflow runs?

jobovy commented 1 year ago

Okay, the tests pass in my fork, so everything's probably fine. I accidentally added some generated files and deleted them again, but you might want to squash and merge this to avoid including that in the history. You might also want to add python 3.10 and 3.11 to the test suite, as a lot of people are probably on 3.10 by now.

esheldon commented 1 year ago

Thanks Jo.