From 44667f7f13b88f611891cd744436500a88c05322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 13 Mar 2012 08:48:05 +0000 Subject: [PATCH] 5621: improve comment and docstring svn: r19052 --- setup.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1437eaa0e..ff5cc0022 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ from distutils.cmd import Command from distutils.core import setup from distutils.command.build import build from distutils.command.install_data import install_data +import distutils.command.clean import sys import glob import os.path @@ -311,11 +312,13 @@ def glade(): class ExtractMessages(Command): ''' - Custom extraction for gramps' files + Command to extract messages for translations ''' # message_extractors = po/POTFILES.in + description = "extraction for gramps" + user_options = [('fake', None, 'Override')] def initialize_options(self): @@ -366,7 +369,9 @@ class ExtractMessages(Command): ''' */*.in.h */*/*.in.h */*/*/*.in.h''') def finalize_options (self): + # TODO: clean all files into /src which are ending with .h extension pass + def trans_files(): @@ -464,6 +469,9 @@ class Install(Command): pass class Uninstall(Command): + ''' + Custom command for uninstalling + ''' description = "Attempt an uninstall from an install log file" @@ -547,7 +555,7 @@ result = setup( cmdclass = { 'build': BuildData, 'install': InstallData, # override Install! - #'install_data': InstallData, + #'install_data': InstallData, # python setup.py --help-commands 'uninstall': Uninstall, 'extract_messages': ExtractMessages} )