Skip to content
Snippets Groups Projects
Commit 671dd5c4 authored by Ramin Yaghoubzadeh's avatar Ramin Yaghoubzadeh
Browse files

Python ant scripts work OK except for test report generation. Some discussion required though.

parent 02f5d668
No related branches found
No related tags found
No related merge requests found
all:
@echo "Compiling protobuf spec for python..."
protoc --proto_path=../proto ../proto/ipaaca.proto --python_out=build/
cp src/ipaaca.py build/
( cd build; python -c "import ipaaca" )
rm build/ipaaca.py
rm build/ipaaca_pb2.py
clean:
rm -f build/*.pyc build/*_pb2.py build/ipaaca.py
language=python
resolve.status=beta
resource.path=${shared.resources}/Shared3DModels/resource;${shared.resources}/DefaultShaders/resource;${shared.resources}/LogbackConfigs/resource;${shared.resources}/HmiHumanoidBodyControl/resource;${shared.resources}/HmiHumanoidEmbodiments/resource;
rebuild.list=
pyzip.excludes=
run.py=run.py
<?xml version="1.0" encoding="UTF-8"?>
<project name="IpaacaPython" default="run">
<import file="../../soashared/ant/build.xml" />
<target name="-pre-compilation">
<echo message="Compiling protobuf file" />
<exec executable="protoc">
<arg value="--proto_path=../proto" />
<arg value="../proto/ipaaca.proto" />
<arg value="--python_out=build/" />
</exec>
</target>
</project>
<ivy-module version="2.0">
<info organisation="HMI" module="IpaacaPython" />
<dependencies>
<dependency org="junit" name="junit" rev="latest.release"/>
</dependencies>
</ivy-module>
#!/usr/bin/env python
import ipaaca
print "{this is the IpaacaPython run.py doing nothing at all}"
[transport.spread]
host = localhost # default type is string
port = 4803 # types can be specified in angle brackets
enabled = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment