Commit 260cd676 authored by Gino Tosti's avatar Gino Tosti
Browse files

update README.md

parent 2b37e975
...@@ -20,21 +20,18 @@ Install pyGen: ...@@ -20,21 +20,18 @@ Install pyGen:
git clone git@git.ia2.inaf.it:gino.tosti/pygen.git git clone git@git.ia2.inaf.it:gino.tosti/pygen.git
source install.sh
python setup.py bdist_wheel
python -m pip install dist/GenDevice-0.1-py3-none-any.whl
set enviroment variable: set enviroment variable:
export $PYGEN=/home/<your_account>/pyGen export $PYGEN=/home/<your_account>/pyGen
To test the generator from command line: To test the generator from command line (this allow to create multiple devices components from a single ICD):
$>cd $PYGEN/test $>cd $PYGEN/test
$>python genDevice.py -f testDeviceInterfaces.xls -p astrima -m tcs $>python genDevice.py -f <your ICD file .xls/xlsx> -p astrima -m tcs
To test the generator with the GUI To test the generator with the GUI (only single device component generation is supported)
$>cd $PYGEN/test $>cd $PYGEN/test
......
...@@ -21,18 +21,5 @@ if __name__ =="__main__": ...@@ -21,18 +21,5 @@ if __name__ =="__main__":
genDeviceGui.mainLoop(window) genDeviceGui.mainLoop(window)
window.close() window.close()
os.chdir(pwd) os.chdir(pwd)
"""
command ="make install"
if execACSCommand(command):
print ("ERROR executing: ",command)
os.chdir(pwd)
exit()
os.chdir(pwd)
command="cdbChecker"
if execACSCommand(command):
print ("ERROR executing: ",command)
exit()
"""
print ("ALL Done") print ("ALL Done")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment