Skip to content
Snippets Groups Projects
Commit 8d74db4a authored by Gino Tosti's avatar Gino Tosti
Browse files

updated readme

parent c920c442
No related branches found
No related tags found
No related merge requests found
......@@ -21,4 +21,16 @@ git clone git@git.ia2.inaf.it:gino.tosti/pygen.git
python setup.py bdist_wheel
python -m pip install dist/GenDevice-0.1-py3-none-any.whl
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
......@@ -40,9 +40,9 @@ if __name__ =="__main__":
if options.install :
introot = os.environ["INTROOT"]
if introor="":
print("INTROOT variable is not set")
exit()
if introor=="":
print("INTROOT variable is not set")
exit()
os.chdir(mygen._dirs['src'])
print ("Make Build ")
command="make clean all"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment