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

update README.md

parent 2b37e975
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -20,21 +20,18 @@ Install pyGen:

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
source install.sh

set enviroment variable:
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

$>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

+0 −13
Original line number Diff line number Diff line
@@ -21,18 +21,5 @@ if __name__ =="__main__":
	genDeviceGui.mainLoop(window)
	window.close()
	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")