## ## ######################################################################## INFO ## # Import cutils modules from cutils.cver import version # from cutils.cdoc import document from cutils.ccom import collect, EXCEPTIONS from cutils.clic import header # Module level constants OVERWRITE=0 #------------------------------------------------------------------------------# # Increase version number version(infolder='.', sub_max=9, rev_max=99, build_max=999) # Add C specific extensions to exceptions exceptions = EXCEPTIONS + ('.o' '.a', '.lib', '.so', '.dll', '.dylib') # Collect special comments collect('.', exceptions=exceptions, overwrite=OVERWRITE) # Generate license headers header('.', exceptions=exceptions, overwrite=OVERWRITE) # Feedback print('pycasso: project is up to date', end='\n'*2)
# after committed, change the branch copy the content and # then commit changed to the gh-pages branch and switch # back to master branch # TODO: Make error messages and reports of cver/cdoc/ccom/clic similar! # Increase version number version(infolder='.', sub_max=9, rev_max=99, build_max=999) # Process documents document(infolder='./doc/src', outfolder='../../../temporary_stuffs/cutils', extension='.yaml', overwrite=OVERWRITE, loader=lambda s: yaml_load(s, Loader=yaml_Loader)) # Collect special comments collect('.', overwrite=OVERWRITE, exclude=EXCLUDE) # Generate license headers header('.', overwrite=OVERWRITE, exclude=EXCLUDE) # Feedback print('cutils: project is up to date', end='\n'*2) # If cutils not yet installed except ImportError: pass