forked from nsmith-/coffeandbacon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_lcg.sh
executable file
·27 lines (21 loc) · 890 Bytes
/
setup_lcg.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
source /cvmfs/sft.cern.ch/lcg/views/LCG_94python3/x86_64-slc6-gcc62-opt/setup.sh
pip install --user uproot lz4
pip install --user --upgrade uproot-methods cloudpickle
# 1.14 is kindof old but pinned by other packages it seems
pip install --user --upgrade numpy
# get dependencies for it
pip install --user fnal-column-analysis-tools
# get latest and greatest
git clone -b processor git@github.com:CoffeaTeam/fnal-column-analysis-tools.git
# progressbar, sliders, etc.
jupyter nbextension enable --py widgetsnbextension
# issue with python3 bindings, see https://sft.its.cern.ch/jira/browse/SPI-1198
wget https://github.com/xrootd/xrootd/archive/v4.8.4.tar.gz
tar zxf v4.8.4.tar.gz && rm -f v4.8.4.tar.gz
cp xrd_setup.py xrootd-4.8.4/bindings/python/
pushd xrootd-4.8.4/bindings/python/
python xrd_setup.py install --user
popd
rm -rf xrootd-4.8.4
source env_lcg.sh