Skip to content
README.md 793 B
Newer Older
Gino Tosti's avatar
Gino Tosti committed
as root:

Gino Tosti's avatar
Gino Tosti committed
yum install libXScrnSaver

as user:
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
python -m pip install --upgrade pip  setuptools wheel
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
python -m  pip install Cheetah3
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
python -m  pip install xlrd==2.0.1
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
python -m  pip install openpyxl
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
python -m pip install pandas (it could be already installed)

Gino Tosti's avatar
Gino Tosti committed
python -m pip install pysimplegui

Install pyGen:
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
git clone git@git.ia2.inaf.it:gino.tosti/pygen.git

Gino Tosti's avatar
Gino Tosti committed
source install.sh
Gino Tosti's avatar
Gino Tosti committed

set enviroment variable:
export $PYGEN=/home/<your_account>/pyGen 

Gino Tosti's avatar
Gino Tosti committed
To test the generator from command line (this allow to create multiple devices components from a single ICD):
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
$>cd $PYGEN/test
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
$>python genDevice.py -f <your ICD file .xls/xlsx> -p astrima -m tcs
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
To test the generator with the GUI (only single device component generation is supported)
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
$>cd $PYGEN/test
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
$>python runGenDeviceGUI.py