-
Notifications
You must be signed in to change notification settings - Fork 3
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
Provide an 'I don't care'-easy installation option #129
Comments
Uh, make a conda package instead! |
Already available: But a binary installation is more general than |
At the moment Since GitHub changed cloning policy, it is no longer possible to use unauthenticated Then, I'd like to deliver soon the extra installation script (leveraging |
@alecandido are you sure that |
One of the two blog posts I mentioned was SSH specific, so it was saying nothing will change for Actually, I don't remember exactly why, but the change in the URL was consequential to a bug report (not even sure I found myself, it was in February and Maybe there is a way to make it work, but I'm really inclined towards removing git operations as much as possible, and use instead released version on crates.io (it should be the official way for users). |
@alecandido I agree. The only tricky installation is the C API, for which we can use the release tarballs, for instance https://github.com/N3PDF/pineappl/archive/refs/tags/v0.5.2.tar.gz. |
BTW: if one really wants to use git, you can using |
That's fine as well, but can't cargo cinstall pineappl_capi |
That doesn't work unfortunately. |
We might have discovered an easier option: #176. And here's yet another option: https://rust-cli.github.io/book/tutorial/packaging.html#distributing-binaries. |
Second part of the note referred in #183, but it is relevant here: Installation scriptWhile for Windows I don't care the less (people that uses Windows might want to curl -fsSL https://n3pdf.github.io/pineappl/install.sh | sh (in principle it should be possible to do the same for Windows with a curl https://github.com/N3PDF/pineappl/archive/refs/tags/pineappl-vX.Y.Z-x86_64-unknown-linux-gnu.tar.gz --output pineappl.tar.gz
tar -xvzf pineappl.tar.gz
rm -f pineappl.tar.gz
install pineappl $PREFIX/bin
rm -f pineappl |
This could help making releases easier: https://github.com/axodotdev/cargo-dist#way-too-quick-start. |
Great! I forgot to mention before, but another relevant |
We've got pre-built binaries for the CAPI now, and we can do the same for the CLI, for which we'll need our LHAPDF replacement first, however. |
I think we can close this, we now have two methods of installing pre-built binaries. |
After talking with @alecandido yesterday, we decided it useful to have a third and very easy installation option. This would be a feature for people who don't care about/don't want Rust. We should write a script which
pineappl
and finallyThis works because everything is statically linked. Maybe we'd also like to a have a similar installer for the Rust C API (could be automatically used inside Madgraph5_aMC@NLO).
The text was updated successfully, but these errors were encountered: