00001 __copyright__ = """ 00002 Copyright 2008 Sean Ross-Ross 00003 """ 00004 __license__ = """ 00005 This file is part of SLIMpy. 00006 00007 SLIMpy is free software: you can redistribute it and/or modify 00008 it under the terms of the GNU Lesser General Public License as published by 00009 the Free Software Foundation, either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 SLIMpy is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public License 00018 along with SLIMpy. If not, see <http://www.gnu.org/licenses/>. 00019 """ 00020 00021 from glob import glob 00022 00023 from slimproj import * 00024 00025 00026 #tut_index = TutorialIndex( 'tutorials' , None ) 00027 #demo_index = DemoIndex( 'demos' , None ) 00028 00029 how_to = MkHowTo( ['SLIMpyOverview'] ) 00030 how_to = MkHowTo( ['funcs']) 00031 # 'abstract', 00032 # 'installation', 00033 # 'license', 00034 # 'tests', 00035 # 'functionality', 00036 # tut_index, 00037 # demo_index] ) 00038 00039 00040 overview = Alias( 'overview', how_to) 00041 00042 00043 TestSLIMpy( 'tests' ) 00044 00045 Default( "mkhowto" ) 00046 00047 aux_files = glob('*.aux') 00048 Clean( 'mkhowto', aux_files ) 00049 00050 #from functionality import functionality 00051 #profile = Tracker( 'profile',[] ) 00052 00053 #func_tex = LatexFromPickle('functionality','profile') 00054 00055 #@Action 00056 #def man_gen( target, source, env): 00057 ## from slimproj_core import 00058 # from slimproj_core.manfile_gen import genorate_man 00059 # manpage = open( str(target[0]) ,'w') 00060 # manpage.write( genorate_man( ) ) 00061 # manpage.close() 00062 # return 00063 # 00064 #com = Command( ['slimproj_man'], None ,man_gen ) 00065 #man = Command( ['slimproj_man.html'],com , "man ./${SOURCE} | man2html > ${TARGET}" ) 00066 # 00067 #Alias( 'profile', profile ) 00068 #Alias( 'mkhowto', profile ) 00069 #Alias( 'mkhowto', man )