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

Is it possible to have the library packed portable? #111

Open
xiamubobby opened this issue Jul 23, 2020 · 1 comment
Open

Is it possible to have the library packed portable? #111

xiamubobby opened this issue Jul 23, 2020 · 1 comment
Labels

Comments

@xiamubobby
Copy link

Conda-devenv has become the very basis of our projects as Grade does. As our intentional common build mechanism, we currently are encountering the case that not each of our agent will be well prepared with dev-env, some might even be missing the Anaconda. As the policy goes the only sure-to-be-there thing is a JRE with not controllable version.
I know I can be achieving that by pulling our Anaconda installer from our internal repo and inject site wise configurations and then install dev-env accordingly. And that is only the first step, then everything just gets started handled by dev-env.

Is it possible to have a minimal packed distributable archive for dev-env? It is expected to do nothing other than providing working dev-env executables.

Say Gradle itself is definitely huge and with complicates setup procedures. So they created grade wrapper which is nice and neat and tiny and enough for setting Gradle up. Perhaps we could achieve the same? Was there any thought once brain-stormed on this? Grade wrapper works with a tiny Jar and one bat script and one shell script and one configuration file. That's all. (But of course it requires jre to be existing, we could also be expecting that there is an living Anaconda/Python outside) . What I want is simply that we don't have to install dev-env properly before using it. It has become to like a cornerstone now for us that we don't want too many preconditions before making use of it.

@nicoddemus
Copy link
Member

Hi @xiamubobby,

Conda-devenv has become the very basis of our projects as Grade does.

Cool, but sorry, what's "Grade"? Not familiar.

What I want is simply that we don't have to install dev-env properly before using it. It has become to like a cornerstone now for us that we don't want too many preconditions before making use of it.

conda-devenv is an extension to conda, not a standalone-application.

Note however that you don't need a full blown Anaconda installation, you can install miniconda and then install conda-devenv on the root environment. That's what we do at ESSS.

If you don't have permissions to install things properly on the target machine, I assume that zipping a local miniconda installation with conda-devenv already installed, and then extracting that zip file in the target machine might work, although we have never tried this ourselves.

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

No branches or pull requests

2 participants