Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/olpcgames/data/__init__.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-12-11 20:16:42 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-12-11 20:16:42 (GMT)
commit324fb287d7b540bbb09a58350e2614507ed5c530 (patch)
treeb96a234fe0fa2c0f3a691049a52c1349c48e1098 /olpcgames/data/__init__.py
parent445dc0cc5770f9aa62264efb37c35d5964e41c0f (diff)
massive commit to reconstruct world before commits were lost
Diffstat (limited to 'olpcgames/data/__init__.py')
-rwxr-xr-xolpcgames/data/__init__.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/olpcgames/data/__init__.py b/olpcgames/data/__init__.py
deleted file mode 100755
index 8510186..0000000
--- a/olpcgames/data/__init__.py
+++ /dev/null
@@ -1,36 +0,0 @@
-"""Design-time __init__.py for resourcepackage
-
-This is the scanning version of __init__.py for your
-resource modules. You replace it with a blank or doc-only
-init when ready to release.
-"""
-try:
- __file__
-except NameError:
- pass
-else:
- import os
- if os.path.splitext(os.path.basename( __file__ ))[0] == "__init__":
- try:
- from resourcepackage import package, defaultgenerators
- generators = defaultgenerators.generators.copy()
-
- ### CUSTOMISATION POINT
- ## import specialised generators here, such as for wxPython
- #from resourcepackage import wxgenerators
- #generators.update( wxgenerators.generators )
- except ImportError:
- pass
- else:
- package = package.Package(
- packageName = __name__,
- directory = os.path.dirname( os.path.abspath(__file__) ),
- generators = generators,
- )
- package.scan(
- ### CUSTOMISATION POINT
- ## force true -> always re-loads from external files, otherwise
- ## only reloads if the file is newer than the generated .py file.
- # force = 1,
- )
-