Skip to content
README.md 672 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 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

Gino Tosti's avatar
Gino Tosti committed
python setup.py bdist_wheel
Gino Tosti's avatar
Gino Tosti committed

Gino Tosti's avatar
Gino Tosti committed
python -m pip install dist/GenDevice-0.1-py3-none-any.whl

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

To test the geneartor from command line:
$>cd $PYGEN/test
$>python genDevice.py -f testDeviceInterfaces.xls -p astrima -m tcs

To test the generator with the GUI
$>cd $PYGEN/test
$>python runGenDeviceGUI.py