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

Simplify development environment installation instructions #1690

Closed
Zaharid opened this issue Mar 10, 2023 · 5 comments
Closed

Simplify development environment installation instructions #1690

Zaharid opened this issue Mar 10, 2023 · 5 comments

Comments

@Zaharid
Copy link
Contributor

Zaharid commented Mar 10, 2023

As of #1680 we have little need for the instructions here

https://docs.nnpdf.science/get-started/installation.html#installation-from-source

AFAICT it would only be needed for running buildmaster and hacking some old evolution tools.

A simpler procedure for Python only development would go along the lines of install package, and pip install -e . on vp and n3fit. I think the current instructions could be stashed somewhere and have those simpler ones for a default dev environment.

@Zaharid
Copy link
Contributor Author

Zaharid commented Mar 10, 2023

@RoyStegeman would you have a look here, given that it might help you for something else?

@RoyStegeman
Copy link
Member

In principle being able to do pip install would make life easier, though we still need lhapdf so if we don't use conda we'll need to add instructions for the intallation of lhapdf. I'm not sure what would be best as a recommended installation. Maybe you or @scarlehoff have thoughts on this?

@scarlehoff
Copy link
Member

Yes. The pip-only install has two problems:

  1. lhapdf
  2. Putting the database and the profile file in the right places.

I haven't look at how to automatise in a reasonable manner 2. because of 1.

@Zaharid
Copy link
Contributor Author

Zaharid commented Mar 10, 2023

This issue is not about conda. It is about not installing C++ build dependencies for the dev environment or having to compile anything . This is a clear, quick win that has no pre requisites.

@RoyStegeman
Copy link
Member

Putting the database and the profile file in the right places.

Yes this would have to be addressed first but that has to be done at some point anyway.

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