From e3c683f84345051612f670d2faade7ef638b406a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 24 Mar 2009 20:05:54 +0100 Subject: Added build_manpage support. Moved all the startup logic from portato.py to portato/__init__.py --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 58956b6..366298a 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,8 @@ import sys, os, os.path from distutils.core import setup from portato.constants import VERSION, DATA_DIR, ICON_DIR, PLUGIN_DIR, TEMPLATE_DIR +from build_manpage import build_manpage + def plugin_list (*args): """Creates a list of correct plugin pathes out of the arguments.""" return [("plugins/%s.py" % x) for x in args] @@ -34,5 +36,6 @@ setup(name="Portato", author = "René 'Necoro' Neumann", author_email = "necoro@necoro.net", packages = packages, - data_files = data_files + data_files = data_files, + cmdclass={'build_manpage': build_manpage} ) -- cgit v1.2.3