blob: f64ef01d4fd63b5ed081fd271fa3c57925fb3cb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import os
import sys
catchPath = os.path.dirname(os.path.dirname(os.path.realpath( os.path.dirname(sys.argv[0]))))
def upstreamFiles():
"""The files below src/Progmasoft that come from Catch2, relative to the
repository with forward slashes; see upstreamFiles.txt."""
with open(os.path.join(catchPath, 'tools', 'scripts', 'upstreamFiles.txt'), encoding='utf-8') as listing:
return {line.strip() for line in listing if line.strip() and not line.startswith('#')}
|