This project contains tools that are used by a variety of development projects. In particular it provides tools to deal with
- source code standards:
check_standards.py
checks various coding standards andcleanup_code.py
autoformats code files (usingautopep8
andclang-format
when available). - generating file lists for
cmake
:setup_cmake.py
generatesFiles.cmake
lists of.cpp
and.py
files thatcmake
scripts can read.make_all_header.py
generates a header that includes a list of others, egIMP.h
. These are useful to simplify SWIG files. - replacing strings in source files:
replace.py
does find and replace, only modifying files that are changed (sed touches all passed files). - git support: see the
git
subdir.
Most of the scripts are Python scripts, and should work with Python 2.7 or later (including Python 3).