From 1588c6040a11d5935bd5e6ee47f09e6a569c3687 Mon Sep 17 00:00:00 2001 From: "gabriel.pettier" Date: Tue, 14 Aug 2012 23:28:26 +0200 Subject: [PATCH] add desktop subsection in README --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c0b667..8af3968 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,19 @@ world hello ``` +Usage on desktop +---------------- + +You need java JDK installed (openjdk will do), cython, and make to build it + + make + +That's it! you can run the tests with + + make tests + +To make sure everything is running right. + Usage with python-for-android ----------------------------- @@ -75,7 +88,7 @@ Advanced example ---------------- When you use autoclass, it will discover all the methods and fields within the object, and resolve it. -It's better to declare and use only what you need (for the moment). +For now, it can be better to declare and use only what you need. The previous example can be done manually: ```python @@ -97,4 +110,4 @@ Hardware.accelerometerEnable() for x in xrange(20): print Hardware.accelerometerReading() sleep(.1) -``` \ No newline at end of file +```