998 |
|
|
999 |
bdist_inno.run(self, install_options) |
bdist_inno.run(self, install_options) |
1000 |
|
|
1001 |
|
class thuban_build_docs(Command): |
1002 |
|
|
1003 |
|
"""Command to generate documentation from source code.""" |
1004 |
|
|
1005 |
|
description = "Generate documentation." |
1006 |
|
|
1007 |
|
user_options = [] |
1008 |
|
|
1009 |
|
def initialize_options(self): pass |
1010 |
|
|
1011 |
|
def finalize_options(self): pass |
1012 |
|
|
1013 |
|
def run(self, install_options = None): |
1014 |
|
self.spawn(["happydoc", "-d./Doc", "./Thuban"]) |
1015 |
|
|
1016 |
# |
# |
1017 |
# Run the script |
# Run the script |
1065 |
"install": ThubanInstall, |
"install": ThubanInstall, |
1066 |
"bdist_rpm": thuban_bdist_rpm, |
"bdist_rpm": thuban_bdist_rpm, |
1067 |
"bdist_inno": thuban_bdist_inno, |
"bdist_inno": thuban_bdist_inno, |
1068 |
"data_dist": data_dist |
"data_dist": data_dist, |
1069 |
|
"build_docs": thuban_build_docs |
1070 |
}) |
}) |
1071 |
|
|
1072 |
|
|