-
Notifications
You must be signed in to change notification settings - Fork 93
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
Wrapper without the need to activate environment #111
Comments
That's a really interesting concept. How would you propose to include it in conda-pack? Keep in mind it would really have to be a pretty generic offering. And even then, it might be better suited for some sort of wrapper around conda-pack. |
@mcg1969 thanks for having a look at this. I agree that it will be difficult to produce anything that is very generic here. Instead I am proposing to just add a section to the documentation that exemplifies some tricks like this one. |
That would be fantastic! |
@saraedum I just wanted to ping you here. I'm welcome to accept a documentation PR for this. |
Hi there, thank you for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment. Thanks! |
The Linux bit has been added to the documentation. Not sure if there's any interest in writing the Windows part. |
Sometimes I find myself wanting to package a binary or a Python script that works in a certain conda environment for users that I don't want to bother with opening a shell and activating the environment. Instead it's nice to just give them a zip file containing a
click-here.bat/sh
that takes care of that.I couldn't find anything in the documentation related to that use case. If you think it would be a good addition, I'd try to add a section about this.
For example, we just packaged a simple python script that converts files it's given on the command line. If I add the following
convert.bat
to my conda pack zip file, users can just unzip the archive and create a lnk toconvert.bat
in theirSendTo
in Windows to be able to run that converter from the context menu in Explorer.The text was updated successfully, but these errors were encountered: