amuse icon indicating copy to clipboard operation
amuse copied to clipboard

Create AMUSE Anaconda packages

Open rieder opened this issue 6 years ago • 7 comments

Is your feature request related to a problem? Please describe. Lots of Astrophysicists use Anaconda for their Python needs. Offering AMUSE as Anaconda packages would therefore be practical.

Describe alternatives you've considered Just offering pip packages works, but Anaconda adds the benefit of managing prerequisites as well, which will also make it easier to offer binary packages

Additional context Analogue to #294

rieder avatar Nov 06 '19 11:11 rieder

I have no experience with Anaconda, so help with this would be welcome!

rieder avatar Nov 06 '19 11:11 rieder

Here's a similar issue for Healpy which may come in handy: https://github.com/healpy/healpy/issues/251

rieder avatar Nov 06 '19 11:11 rieder

travis for mac uses conda (I think @egpbos looked into this...)

ipelupessy avatar Nov 06 '19 13:11 ipelupessy

good, that might help.

rieder avatar Nov 06 '19 13:11 rieder

I built a few conda packages. Be sure to check out conda-forge, it will almost certainly be best to put the package(s) there. I'd be happy to help a bit. The basics are pretty well documented I think (clone the staged_recipes repo, make your own branch and ~build~ write the recipe), so that should get you off to a good start.

egpbos avatar Nov 06 '19 14:11 egpbos

We should pick this up again. AMUSE and conda is still a recipe for disaster...

rieder avatar Oct 03 '22 14:10 rieder

I've been working on this over the past weeks, and have so far failed to make it work. The current build system seemingly isn't set up for building packages or for compiling community codes separately from the framework, and while I've found a framework_build option that seems to try to do something is this direction, it isn't used by the PyPI packages and I run into problems when I try to build using it. I also run into a great variety of problems when I try to build without it.

Since the build system needs to be replaced anyway because the setuptools mechanism it's based on is obsolete and has been removed, I'm going to do that first, and then try again with the new build system, which will of course be designed to work better for building separate packages as well. See https://github.com/amusecode/amuse/issues/1024.

LourensVeen avatar Dec 15 '23 13:12 LourensVeen