TheAssassin

Results 1520 comments of TheAssassin

#10 explains why it's necessary to error out to prevent running more than once.

Same as https://github.com/linuxdeploy/linuxdeploy-plugin-conda/issues/10#issuecomment-494590494. Sure, would be nice to have, but implies a lot of work to make this reliable. Conda's installer doesn't support it properly. Also: linuxdeploy *can* run multiple...

This plugin should be [idempotent](https://en.wikipedia.org/wiki/Idempotence#Computer_science_meaning) with some exceptions. - subsequent runs should recognize existing conda environment and not recreate the environment from scratch - installation of dependencies should be called...

Stuff in shebangs can't be trusted with this plugin. The best solution is to always write your own AppRun script, and hand it to linuxdeploy with `--custom-apprun myscript.sh`. I will...

You can't have "relative" paths in shebangs. The only thing we could do would be to remove all shebangs and force you to use a script anyway.

The first solution doesn't work as we don't set `PATH`. The second one is super ugly, and noone really knows whether that'd work reliably... (there's different implementations of AWK)... but...

You probably haven't tested on all X distros against all implementations of awk, did you? Also, who says awk might be installed? It's not part of a default installation. Again:...

Why should they not do it in Python directly? You shouldn't rely on such stuff. Also, why these virtual questions? You can't auto fix this in a good way, I...

No, because that string would a) have to be generated for _every_ file in every directory _relative_ to the Python interpreter. It's a huge mess!

@probonopd are you willing to send a PR implementing your `awk` solution? I think the build runtime overhead is well invested if it can work in some scenarios.