diff --git a/python/Makefile b/python/Makefile deleted file mode 100644 index 429c8f5ba0ea8d58eba4fb2b274ae8969a98a98b..0000000000000000000000000000000000000000 --- a/python/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -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 - diff --git a/python/build.properties b/python/build.properties new file mode 100644 index 0000000000000000000000000000000000000000..aa9003a9c77f1ce8614fe43a382b09d6778c25ab --- /dev/null +++ b/python/build.properties @@ -0,0 +1,7 @@ +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 + diff --git a/python/build.xml b/python/build.xml new file mode 100644 index 0000000000000000000000000000000000000000..2c571af2bc17e9bc76328646e3960baf3a756d15 --- /dev/null +++ b/python/build.xml @@ -0,0 +1,13 @@ +<?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> + diff --git a/python/ivy.xml b/python/ivy.xml new file mode 100644 index 0000000000000000000000000000000000000000..f7824bbed5b31631967f692c017cede769d81172 --- /dev/null +++ b/python/ivy.xml @@ -0,0 +1,6 @@ +<ivy-module version="2.0"> + <info organisation="HMI" module="IpaacaPython" /> + <dependencies> + <dependency org="junit" name="junit" rev="latest.release"/> + </dependencies> +</ivy-module> diff --git a/python/src/run.py b/python/src/run.py new file mode 100755 index 0000000000000000000000000000000000000000..e4f4db26e88094f481df9ce6caf358b76348e059 --- /dev/null +++ b/python/src/run.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python + +import ipaaca + +print "{this is the IpaacaPython run.py doing nothing at all}" + diff --git a/python/test/rsb.cfg b/python/test/rsb.cfg new file mode 100644 index 0000000000000000000000000000000000000000..c7d8582067278e6e725cd5309d4b280bb5ccb6b6 --- /dev/null +++ b/python/test/rsb.cfg @@ -0,0 +1,5 @@ +[transport.spread] +host = localhost # default type is string +port = 4803 # types can be specified in angle brackets +enabled = true +