summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornecoro <>2007-07-05 05:10:08 +0000
committernecoro <>2007-07-05 05:10:08 +0000
commit226cb01e0cb626d3051bb30a3472a49f577c194d (patch)
treec8e956b90edb4372700d847bbb3503d6220488ea
parent7d757db73d862b368c57aed2da769a53b3e1e920 (diff)
downloadportato-226cb01e0cb626d3051bb30a3472a49f577c194d.tar.gz
portato-226cb01e0cb626d3051bb30a3472a49f577c194d.tar.bz2
portato-226cb01e0cb626d3051bb30a3472a49f577c194d.zip
added shutdown plugin
Diffstat (limited to '')
-rw-r--r--setup.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 5c96f9e..81d6ba9 100644
--- a/setup.py
+++ b/setup.py
@@ -3,11 +3,14 @@
import os, os.path
from distutils.core import setup, Extension
-from portato.constants import VERSION, DATA_DIR, FRONTENDS, ICON_DIR
+from portato.constants import VERSION, DATA_DIR, FRONTENDS, ICON_DIR, PLUGIN_DIR
+
+def plugin_list (*args):
+ return [("plugins/%s.xml" % x) for x in *args]
packages = ["portato", "portato.gui", "portato.plugins", "portato.backend", "portato.backend.portage"]
ext_modules = []
-data_files = [(ICON_DIR, ["icons/portato-icon.png"])]
+data_files = [(ICON_DIR, ["icons/portato-icon.png"]), (PLUGIN_DIR, plugin_list("shutdown"))]
cmdclass = {}
if "gtk" in FRONTENDS: