Replies: 3 comments
-
|
IMO, we must keep conda packages light, and install minimal set of dependencies. Having a different package to have more dependencies sounds good to me. |
Beta Was this translation helpful? Give feedback.
-
|
We would like to allow both but the answer is not that simple: it depeneds on use cases.
Case 2 is probably the most common and neeeds to be simple: a user who wants to run brainvisa/morphologist and anatomist will not bother about installing (for instance and among many others) libjpeg, libminc, openslide, the exact correct combinations of versions of ipython/tornado/jupyter, etc etc when he doesn't even know what are all these libs and which may be optionally used. So maybe we could have packages "with plugins", named "-plugins" which add all optional dependencies (soma-io/aims plugins would install all IO formats libraries, for instance). |
Beta Was this translation helpful? Give feedback.
-
|
@Hboni , there are, at least, capsul, populse-bd and soma-workflow that uses alternate dependencies. To be compatible with what is existing in brainvisa-cmake, I modified casa-distro to create several packages according to what is defined in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We now have a system allowing to build Conda packagages with dependencies. However, AFAIK, a conda package can have only one set of dependencies. But it can be useful to have different dependencies according to the intended usage of the package. Let's take a simple example. Installing current
capsulpackage with conda allows to use Capsul but not to run the tests. Tests requires other modules such aspytestandjupyterthat don't need to be installed for all users. What should be our policy for dependencies ? Should we use a minimal set of dependencies for a package and eventually create other packages to add other dependencies (for instance a packagecapsul-test) ? Or should we include all possibly useful dependencies in a single package ?Beta Was this translation helpful? Give feedback.
All reactions