Commit 8d74db4a authored by Gino Tosti's avatar Gino Tosti
Browse files

updated readme

parent c920c442
Loading
Loading
Loading
Loading
+13 −1
Original line number Original line Diff line number Diff line
@@ -22,3 +22,15 @@ git clone git@git.ia2.inaf.it:gino.tosti/pygen.git
python setup.py bdist_wheel
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
+3 −3
Original line number Original line Diff line number Diff line
@@ -40,7 +40,7 @@ if __name__ =="__main__":
	
	
	if options.install :
	if options.install :
	  introot = os.environ["INTROOT"]
	  introot = os.environ["INTROOT"]
	  if introor="":
	  if introor=="":
	        print("INTROOT variable is not set")
	        print("INTROOT variable is not set")
	        exit()
	        exit()
	  os.chdir(mygen._dirs['src'])
	  os.chdir(mygen._dirs['src'])