From 226cb01e0cb626d3051bb30a3472a49f577c194d Mon Sep 17 00:00:00 2001 From: necoro <> Date: Thu, 5 Jul 2007 05:10:08 +0000 Subject: added shutdown plugin --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'setup.py') 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: -- cgit v1.2.3