summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authornecoro <>2007-04-06 00:31:03 +0000
committernecoro <>2007-04-06 00:31:03 +0000
commita9b07b7c0c6382eb8fadcc54d1d8a00075c38a29 (patch)
tree47bf4e7733488295503e2dfe603c9d48a6fedcd7 /setup.py
parenta54998f99c9bc5830eba7de9a76fac10f99721f0 (diff)
downloadportato-a9b07b7c0c6382eb8fadcc54d1d8a00075c38a29.tar.gz
portato-a9b07b7c0c6382eb8fadcc54d1d8a00075c38a29.tar.bz2
portato-a9b07b7c0c6382eb8fadcc54d1d8a00075c38a29.zip
First qt draft
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index af82b7f..8fe3bb0 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,7 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
+import os, os.path
from distutils.core import setup, Extension
from portato.constants import VERSION, DATA_DIR, FRONTENDS
@@ -13,6 +14,10 @@ if "gtk" in FRONTENDS:
packages.append("portato.gui.gtk")
data_files.append((DATA_DIR, ["portato/gui/gtk/glade/portato.glade"]))
+if "qt" in FRONTENDS:
+ packages.append("portato.gui.qt")
+ data_files.append((os.path.join(DATA_DIR,"ui"), [os.path.join("portato/gui/qt/ui",x) for x in os.listdir("portato/gui/qt/ui/") if x.endswith(".ui")]))
+
setup(name="Portato",
version = VERSION,
author = "René 'Necoro' Neumann",