Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
asn1-value-editor
Commits
b4bb108b
Commit
b4bb108b
authored
Dec 13, 2014
by
Maxime Perrotin
Browse files
Update Makefile and README
parent
d8e41dda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
b4bb108b
all
:
compile-all
compile-all
:
@
pyside-rcc asn1_value_editor.qrc
-o
resources.py
@
pyside-rcc asn1_value_editor.qrc
-o
asn1_value_editor/
resources.py
install
:
compile-all
@
mkdir
-p
asn1_value_editor
@
for
f
in
ColorFormatter.py TasteMainWindow.py asn1_python.py
\
errCode.py mscHandler.py plotmanager.py tasteplot.py
\
vn.py Scenario.py __init__.py asn1_value_editor.py gui.py
\
mscStreamingScene.py standalone_editor.py sdlHandler.py
\
udpcontroller.py resources.py
;
\
do
echo
Installing
$$
f
&&
cp
$$
f asn1_value_editor
;
\
done
@
python setup.py
install
--record
install.record
clean
:
@
rm
*
.pyc
@
rm
-rf
build dist
*
.egg-info asn1_value_editor/
*
.pyc
.PHONY
:
all compile-all install clean
README
→
README
.md
View file @
b4bb108b
...
...
@@ -9,24 +9,25 @@ It contains a setup.py and is meant to be installed using the Python way:
$ sudo make install
This command will call: python setup.py install
This command will
update the Qt resource file and
call: python setup.py install
--record
The auto-generated GUIs make use of the speedometer and of the MSC Editor/Viewer.
* You must install
i
t first *
*
You must install t
hem
first
*
Usage for the standalone editor:
standalon
g
_editor -a <DataModel.asn> -t <Type> [-d <Default Value>]
$
standalon
e
_editor -a <DataModel.asn> -t <Type> [-d <Default Value>]
You can try it with the T-POS type that is in TPos.asn file under the ./test directory:
./
standalone_editor.py -a test/TPos.asn -t T-POS
$
standalone_editor.py -a test/TPos.asn -t T-POS
Or with a default value (make sure you use quote):
./
standalone_editor.py -a test/TPos.asn -t T-POS -d 'myIntSetOf: { 1, 2, 3, 4, 1 }'
$
standalone_editor.py -a test/TPos.asn -t T-POS -d 'myIntSetOf: { 1, 2, 3, 4, 1 }'
(c) European Space Agency
Author: Maxime Perrotin
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