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

installing all pacakges doesn't install everything - is that intended? #10

Open
heather999 opened this issue Aug 20, 2020 · 2 comments
Open

Comments

@heather999
Copy link
Contributor

When doing an initial install at NERSC, using either the release tag v1.0.0 or the current master, if I try to install all via python pip_sn_pack.py --action install --package=all it looks to me that only a small portion of the available packages are installed, like sn_pipe, but not sn_fit. Rather, I have to go back and add those other packages in separately - is that intended?

In a related item, I'll create a PR to update the NERSC install documentation to fix the reference to the jupyter kernel setup script which is actually named setup_kernel.sh rather than setup_nersc.sh

@pgris
Copy link
Collaborator

pgris commented Sep 4, 2020

Hi Heather,

no it is not intended. In principle the command python pip_sn_pack.py --action install --package=all should install all the packages.How did you get convinced that it was not the case? For instance, what is the result of the command 'python pip_sn_pack.py --action list'?

@johannct
Copy link

johannct commented Oct 6, 2020

I just tried :

cohen@port-jct:$ git clone [email protected]:LSSTDESC/sn_pipe.git
cohen@port-jct:
$ cd sn_pipe/
cohen@port-jct:~/sn_pipe$ python3 pip_sn_pack.py --action install --package=all

This results in the following installed :
cohen@port-jct:~/sn_pipe$ ls -ltr ~/.local/lib/python3.6/site-packages/ | tail -10

drwxr-xr-x 3 cohen cohen 4096 oct. 6 09:55 sn_plotter_metrics
drwxr-xr-x 3 cohen cohen 4096 oct. 6 09:55 sn_plotter_fitlc
drwxr-xr-x 3 cohen cohen 4096 oct. 6 09:55 sn_plotter_simu
drwxr-xr-x 2 cohen cohen 4096 oct. 6 09:55 sn_plotters-1.1.0.dist-info
drwxr-xr-x 2 cohen cohen 4096 oct. 6 09:55 sn_pipe-1.2.0-py3.6.egg-info

And --action list returns :
cohen@port-jct:~/sn_pipe$ python3 pip_sn_pack.py --action list
sn-pipe
sn-plotters @ git+https://github.com/lsstdesc/sn_plotters.git@21a5f6185da3012e01adca99360270e4a92b63a5

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