Author: remi
Date: 2009-03-12 11:12:41 +0100 (Thu, 12 Mar 2009)
New Revision: 3980
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py
Log:
* applied the last Paul's changes
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py
===================================================================
---
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py
2009-03-12 10:12:18 UTC (rev 3979)
+++
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py
2009-03-12 10:12:41 UTC (rev 3980)
@@ -6,12 +6,17 @@
Tux shell is the shell way to use Tuxdroid. It create an API object with the
"Free" client mode.
"""
+import os
+if os.name == 'nt':
+ from version import author, date, version, licence
+else:
+ from tuxisalive.api.version import author, date, version, licence
-from version import author, date, version, licence
__author__ = author
__date__ = date
__version__ = version
__licence__ = licence
+
del author, date, version, licence
# Copyright (C) 2009 C2ME Sa
@@ -22,9 +27,11 @@
import sys
import signal
import atexit
-import os
-from TuxAPI import *
+if os.name == 'nt':
+ from TuxAPI import *
+else:
+ from tuxisalive.api.TuxAPI import *
global tux
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn