Plugin skeleton base - python package
authoretisserant
Thu, 16 Aug 2007 12:03:00 +0200
changeset 10 2aff8e8cd456
parent 9 bc29b3bf2a5a
child 11 75ae893d5eed
Plugin skeleton base - python package
plugins/__init__.py
plugins/canfestival.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/__init__.py	Thu Aug 16 12:03:00 2007 +0200
@@ -0,0 +1,6 @@
+from os import listdir, path
+
+l = listdir(path.split(__file__)[0])
+
+__all__ = [name[0:-3] for name in l if name.endswith(".py") and not name.startswith("__")]
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/canfestival.py	Thu Aug 16 12:03:00 2007 +0200
@@ -0,0 +1,1 @@
+toto = "ljhlkj"
\ No newline at end of file