-
Notifications
You must be signed in to change notification settings - Fork 11
Python 3 test period
giadarol edited this page Nov 28, 2019
·
27 revisions
This page describes how to download and install the Python 3 version in the test period Dec 2019 - Jan 2020. After this test period the Python 3 version will become the default and the only one to be maintained.
source ~/miniconda3/bin/activate
git clone https://github.com/pycomplete/PyECLOUD
git clone https://github.com/pycomplete/PyPIC
git clone https://github.com/pycomplete/PyKLU
git clone https://github.com/pycomplete/PyHEADTAIL
git clone https://github.com/pycomplete/NAFFlib
git clone https://github.com/pycomplete/PyPARIS
git clone https://github.com/pycomplete/PyPARIS_sim_class
git clone https://github.com/pycomplete/PyPARIS_CoupledBunch_sim_class
(needed only during test period, in which the python 2 version remains the default)
cd PyECLOUD
git checkout v8.2.0_python3
cd ..
cd PyPIC
git checkout v2.4.4_python3
cd ..
cd PyHEADTAIL
git checkout v1.13.5_python3
cd .
cd PyPARIS
git checkout v2.4.1_python3
cd ..
cd PyPARIS_sim_class
git checkout v1.2.4_python3
cd ..
cd PyPARIS_CoupledBunch_sim_class
git checkout v1.0.0_python3
cd ..
PyKLU and NAFFlib are natively compatible with Python 3
cd PyECLOUD
./setup_pyecloud
cd ..
cd PyPIC
make
cd ..
cd PyKLU
./install
cd ..
cd PyHEADTAIL
make
cd ..
cd NAFFlib
make
cd ..
I have cloned the tools in /home/giadarol/Desktop/PyFRIENDS_python3
export FOLDER_WITH_PACKAGES=/home/giadarol/Desktop/PyFRIENDS_python3
export PYTHONPATH=$FOLDER_WITH_PACKAGES:$FOLDER_WITH_PACKAGES/PyHEADTAIL:$FOLDER_WITH_PACKAGES/NAFFlib$PYTHONPATH