[mousetrap] Adding missing files
- From: Flavio Percoco <flaper src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mousetrap] Adding missing files
- Date: Mon, 26 Oct 2009 22:45:29 +0000 (UTC)
commit 3fe7b3296c09c6d76f39edb5ed1d6fa452e636db
Author: Flavio Percoco Premoli <flaper87 gmail com>
Date: Tue Oct 27 01:00:35 2009 +0100
Adding missing files
src/mousetrap/Makefile.am | 11 +++++++++++
src/mousetrap/__init__.py | 25 +++++++++++++++++++++++++
src/test.py | 35 +++++++++++++++++++++++++++++++++++
3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/src/mousetrap/Makefile.am b/src/mousetrap/Makefile.am
new file mode 100644
index 0000000..bef25f7
--- /dev/null
+++ b/src/mousetrap/Makefile.am
@@ -0,0 +1,11 @@
+mousetrap_pathdir=$(pyexecdir)
+
+mousetrap_python_PYTHON = \
+ __init__.py
+
+SUBDIRS = app ocvfw
+
+mousetrap_pythondir=$(pyexecdir)/mousetrap/
+
+install-exec-hook:
+ chmod a+rx $(mousetrap_pythondir) -R
diff --git a/src/mousetrap/__init__.py b/src/mousetrap/__init__.py
new file mode 100644
index 0000000..7e8b8d7
--- /dev/null
+++ b/src/mousetrap/__init__.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap. If not, see <http://www.gnu.org/licenses/>.
+
+__id__ = "$Id$"
+__version__ = "$Revision$"
+__date__ = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__ = "GPLv2"
diff --git a/src/test.py b/src/test.py
new file mode 100644
index 0000000..c3c3bc5
--- /dev/null
+++ b/src/test.py
@@ -0,0 +1,35 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""MouseTrap's main script."""
+
+__id__ = "$Id$"
+__version__ = "$Revision$"
+__date__ = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__ = "GPLv2"
+
+import sys
+import mousetrap.app.main as mousetrap
+
+if __name__ == '__main__':
+ sys.path.append("./")
+ mousetrap.Controller().start()
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]