Commit b4bb108b authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update Makefile and README

parent d8e41dda
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
......@@ -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 it first *
* You must install them first *
Usage for the standalone editor:
standalong_editor -a <DataModel.asn> -t <Type> [-d <Default Value>]
$ standalone_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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment