Run gather_sources.py

This commit is contained in:
Guilhem Lavaux 2013-03-05 22:39:33 -05:00
parent 50d830cb97
commit e0e6ea7be2
77 changed files with 148 additions and 3 deletions

View file

@ -5,7 +5,7 @@
#
# This software is a computer program whose purpose is to provide a toolbox for cosmological
# data analysis (e.g. filters, generalized Fourier transforms, power spectra, ...)
#
# This software is governed by the CeCILL license under French law and
# abiding by the rules of distribution of free software. You can use,
# modify and/ or redistribute the software under the terms of the CeCILL
@ -61,7 +61,7 @@ def apply_python_license(filename):
#
# This software is a computer program whose purpose is to provide a toolbox for cosmological
# data analysis (e.g. filters, generalized Fourier transforms, power spectra, ...)
#
# This software is governed by the CeCILL license under French law and
# abiding by the rules of distribution of free software. You can use,
# modify and/ or redistribute the software under the terms of the CeCILL
@ -143,6 +143,9 @@ def analyze_tree(prefix, t):
if type(entry) == Tree:
analyze_tree(prefix + "/" + ename, entry)
elif type(entry) == Blob:
if ename == './src/hdf5_flash.h' or ename == './src/h5_readFlash.cpp' or ename == './src/h5_readFlash.hpp':
continue
if re.match(".*\.(sh|py|pyx)$",ename) != None:
fname=prefix+"/"+ename
apply_python_license(fname)