opensim-moco icon indicating copy to clipboard operation
opensim-moco copied to clipboard

Deploy python package via Anaconda

Open chrisdembia opened this issue 6 years ago • 9 comments

I created an Anaconda Cloud account for opensim-org. https://anaconda.org/opensim-org/dashboard

We should make CI create/upload the Python packages.

chrisdembia avatar Nov 18 '19 02:11 chrisdembia

It'd be great to see it in conda forge.

moorepants avatar Nov 18 '19 03:11 moorepants

Hey @moorepants ! That’s the long term plan but I can probably set up a package using our own CI in two days, which I don’t think I could do for conda forge. Also, I hope that Moco will be part of opensim-core, and then a separate package wouldn’t be necessary.

chrisdembia avatar Nov 18 '19 03:11 chrisdembia

I see. Let us know if we can help with conda forge packages when you get there.

moorepants avatar Nov 18 '19 04:11 moorepants

Okay, will do. :)

chrisdembia avatar Nov 18 '19 05:11 chrisdembia

@moorepants , Moco depends on an unreleased fork of opensim-core. Would this cause issues for conda-forge? Ideally, we would not create a separate opensim-core package for Moco.

chrisdembia avatar Dec 03 '19 23:12 chrisdembia

I think that conda-forge allows package maintainers to release rc, beta, alpha candidates. So you could do that. In general, they package only released software. You can add patches to released software but it shouldn't modify any public API.

moorepants avatar Dec 04 '19 00:12 moorepants

Okay thanks that’s helpful.

chrisdembia avatar Dec 04 '19 00:12 chrisdembia

I'm running into some difficulty using conda locally to build Moco. I don't know how to access more recent compilers.

EDIT: Alright I think I'm getting a slightly better grasp of the situation now.

I will try to refer to https://github.com/conda-forge/armadillo-feedstock/tree/37f0a20559aaddbaede9b54cc4eaf725c6d8a7c7/recipe.

chrisdembia avatar Dec 04 '19 19:12 chrisdembia

Yes, there are all these new ways to specify compilers: https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html

moorepants avatar Dec 05 '19 01:12 moorepants