data_files = [ # No default configuration files; confusing ('@sysconfigdir@/tcf/', [ 'conf_global.py', ]), # ('etc/tcf', glob.glob("conf_*.py")), ('@prefix@/share/tcf', [ 'tcfl/img-metadata.schema.yaml', ]), ('@prefix@/share/tcf/examples', [ ] \ + glob.glob("examples/*.py") \ + glob.glob("examples/*.ino"), ), ('@prefix@/share/tcf/tests', setupl.glob_no_symlinks("tests/*.py") + glob.glob("tests/*.sh") + glob.glob("tests/*.sh") + glob.glob("tests/*.txt") # These map to symlinked files in tests/ + [ 'ttbd/conf_00_lib.py', 'sketch/conf_sketch.py' ] ), ('@prefix@/share/tcf/lint', setupl.glob_no_symlinks(".lint.*.py") + [ "lint-all.py" ] ), ('@prefix@/share/tcf/', [ "report-base.j2.txt", "report.j2.txt",
# This is needed so when data is to be installed, our # _install_data class is used. cmdclass = dict( build_py = _build_py, install_data = setupl._install_data, sdist = _sdist, ), data_files = [ # No default configuration files; confusing # ('etc/tcf', glob.glob("conf_*.py")), ('@prefix@/share/tcf/examples', [ ] \ + glob.glob("examples/*.py") \ + glob.glob("examples/*.ino"), ), ('@prefix@/share/tcf/tests', setupl.glob_no_symlinks("tests/*.py") + glob.glob("tests/*.sh") + glob.glob("tests/*.sh") + glob.glob("tests/*.txt") # These map to symlinked files in tests/ + [ 'ttbd/conf_00_lib.py', 'sketch/conf_sketch.py' ] ), ('@prefix@/share/tcf/lint', setupl.glob_no_symlinks(".lint.*.py") + [ "lint-all.py" ] ) ], )
data_files = [ # No default configuration files; confusing ( os.path.join('@sysconfigdir@', 'tcf'), [ 'conf_global.py', ]), # ('etc/tcf', glob.glob("conf_*.py")), ( os.path.join('@prefix@', "share", 'tcf'), [ os.path.join('tcfl', 'img-metadata.schema.yaml'), ]), ( os.path.join('@prefix@', 'share', 'tcf', 'examples'), [ ] \ + glob.glob(os.path.join("examples" , "*.py")) \ + glob.glob(os.path.join("examples", ".ino")), ), ( os.path.join('@prefix@', 'share', 'tcf', 'tests'), setupl.glob_no_symlinks(os.path.join("tests", "*.py")) + glob.glob(os.path.join("tests", "*.sh")) + glob.glob(os.path.join("tests", "/*.sh")) + glob.glob(os.path.join("tests", "*.txt")) # These map to symlinked files in tests/ + [ os.path.join('ttbd', 'conf_00_lib.py'), ] ), ( os.path.join('@prefix@', "share", "tcf", "lint"), setupl.glob_no_symlinks(".lint.*.py") + [ "lint-all.py" ] ), ( os.path.join('@prefix@', 'share', 'tcf'), [ "mk-efi-image.sh",