diff --git a/buildtools/config.py b/buildtools/config.py index 33a946a2..af279193 100644 --- a/buildtools/config.py +++ b/buildtools/config.py @@ -961,11 +961,16 @@ def updateLicenseFiles(cfg): # Copy the license files from wxWidgets mkpath('license') for filename in ['preamble.txt', 'licence.txt', 'lgpl.txt', 'gpl.txt']: - copy_file(opj(cfg.WXDIR, 'docs', filename), opj('license',filename), update=1, verbose=1) + copy_file(opj(cfg.WXDIR, 'docs', filename), opj('license',filename), + update=1, verbose=1) + + # Get the sip license too + copy_file(opj('sip', 'siplib', 'LICENSE'), opj('license', 'sip-license.txt'), + update=1, verbose=1) # Combine the relevant files into a single LICENSE.txt file text = '' - for filename in ['preamble.txt', 'licence.txt', 'lgpl.txt']: + for filename in ['preamble.txt', 'licence.txt', 'lgpl.txt', 'sip-license.txt']: with open(opj('license', filename), 'r') as f: text += f.read() + '\n\n' with open('LICENSE.txt', 'w') as f: