Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gino Tosti
pygen
Commits
260cd676
Commit
260cd676
authored
Jun 25, 2021
by
Gino Tosti
Browse files
update README.md
parent
2b37e975
Changes
2
Show whitespace changes
Inline
Side-by-side
README.md
View file @
260cd676
...
...
@@ -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
/
xls
x
>
-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
...
...
test/runGenDevGui.py
View file @
260cd676
...
...
@@ -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"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment