diff options
author | necoro <> | 2007-07-05 05:10:08 +0000 |
---|---|---|
committer | necoro <> | 2007-07-05 05:10:08 +0000 |
commit | 226cb01e0cb626d3051bb30a3472a49f577c194d (patch) | |
tree | c8e956b90edb4372700d847bbb3503d6220488ea | |
parent | 7d757db73d862b368c57aed2da769a53b3e1e920 (diff) | |
download | portato-226cb01e0cb626d3051bb30a3472a49f577c194d.tar.gz portato-226cb01e0cb626d3051bb30a3472a49f577c194d.tar.bz2 portato-226cb01e0cb626d3051bb30a3472a49f577c194d.zip |
added shutdown plugin
Diffstat (limited to '')
-rw-r--r-- | setup.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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: |