Loading README.md +13 −1 Original line number Original line Diff line number Diff line Loading @@ -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 test/genDevice.py +3 −3 Original line number Original line Diff line number Diff line Loading @@ -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']) Loading Loading
README.md +13 −1 Original line number Original line Diff line number Diff line Loading @@ -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
test/genDevice.py +3 −3 Original line number Original line Diff line number Diff line Loading @@ -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']) Loading