summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-12-25 20:56:28 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2015-12-25 20:56:28 +0200
commit7f8fa2bbe47e881a486ac08f67ce7b6c05ea1b56 (patch)
treef4ef582cd2c5b31abd2037f5c37edbf41bbffe30
parentf2acab0330a04e0dca4d20f002cd628e3b481193 (diff)
Add launcher script and fix py3k imports
-rwxr-xr-xbin/valoviini6
-rwxr-xr-xsetup.py3
-rwxr-xr-xvaloviini/Valoviini.py6
3 files changed, 11 insertions, 4 deletions
diff --git a/bin/valoviini b/bin/valoviini
new file mode 100755
index 0000000..5a8196c
--- /dev/null
+++ b/bin/valoviini
@@ -0,0 +1,6 @@
1#!/usr/bin/python
2
3import logging
4from valoviini.Valoviini import Valoviini
5Valoviini()
6logging.shutdown() \ No newline at end of file
diff --git a/setup.py b/setup.py
index 9c51433..e54bb86 100755
--- a/setup.py
+++ b/setup.py
@@ -16,5 +16,6 @@ setup(
16 'efl', 16 'efl',
17 'xdg', 17 'xdg',
18 ], 18 ],
19 packages=["valoviini"] 19 packages=["valoviini"],
20 scripts=["bin/valoviini"]
20) 21)
diff --git a/valoviini/Valoviini.py b/valoviini/Valoviini.py
index ed2cd90..ad7a121 100755
--- a/valoviini/Valoviini.py
+++ b/valoviini/Valoviini.py
@@ -7,10 +7,10 @@ from efl.ecore import Exe, ECORE_EXE_PIPE_ERROR, ECORE_EXE_PIPE_ERROR_LINE_BUFFE
7 7
8from xdg.BaseDirectory import save_config_path 8from xdg.BaseDirectory import save_config_path
9 9
10from callbacks import Callback, CallbackManager 10from .callbacks import Callback, CallbackManager
11from winetricks import WineTricks 11from .winetricks import WineTricks
12 12
13from gui import Gui 13from .gui import Gui
14 14
15import logging 15import logging
16logger = logging.getLogger("valoviini") 16logger = logging.getLogger("valoviini")