Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create AMUSE Anaconda packages #525

Open
rieder opened this issue Nov 6, 2019 · 7 comments
Open

Create AMUSE Anaconda packages #525

rieder opened this issue Nov 6, 2019 · 7 comments

Comments

@rieder
Copy link
Member

rieder commented Nov 6, 2019

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
Copy link
Member Author

rieder commented Nov 6, 2019

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

@rieder
Copy link
Member Author

rieder commented Nov 6, 2019

Here's a similar issue for Healpy which may come in handy: healpy/healpy#251

@ipelupessy
Copy link
Member

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

@rieder
Copy link
Member Author

rieder commented Nov 6, 2019

good, that might help.

@egpbos
Copy link
Contributor

egpbos commented Nov 6, 2019

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.

@rieder
Copy link
Member Author

rieder commented Oct 3, 2022

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

@LourensVeen
Copy link
Collaborator

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 #1024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants