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

add --relocatable flag to virtualenv in caratekit #1278

Open
o-smirnov opened this issue Nov 5, 2020 · 2 comments
Open

add --relocatable flag to virtualenv in caratekit #1278

o-smirnov opened this issue Nov 5, 2020 · 2 comments

Comments

@o-smirnov
Copy link
Member

Here: https://github.com/caracal-pipeline/caracal/blob/master/caratekit.sh#L2413

@bennahugo tells me this is a proper fix to the Stupidest #! Problem of All Time.

@gigjozsa
Copy link
Collaborator

Sorry, this is slightly to cryptic even for me. What is the #! problem and why should we add the --relocatable flag if it is not supported any more? Or is it?

@bennahugo
Copy link
Collaborator

Referring to https://stackoverflow.com/questions/10813538/shebang-line-limit-in-bash-and-linux-kernel

As I later mentioned to @o-smirnov it is deprecated. This used to solve this problem.

However, the answer is to go back to virtualenv-less installs and using manual python paths and paths. Installation into custom prefixes can be achieved via:

pip install --install-option="--prefix=$PREFIX_PATH" package_name

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

No branches or pull requests

3 participants