hack around this. Also make supporters lists right for older versions.
add_section (_("With help from"), with_help_from);
wxArrayString supported_by;
- #include "../../build/supporters.cc"
+ #include "supporters.cc"
add_section (_("Supported by"), supported_by);
wxArrayString tested_by;
import glob
import distutils
import distutils.spawn
+import urllib
from waflib import Logs, Context
APPNAME = 'dcpomatic'
Logs.pprint('YELLOW', '')
def download_supporters():
- os.system('curl https://dcpomatic.com/supporters.cc > build/supporters.cc')
+ last_date = subprocess.Popen(shlex.split('git log -1 --format=%%ai %s' % last_version), stdout=subprocess.PIPE).communicate()[0]
+ os.system('curl https://dcpomatic.com/supporters.cc?%s > src/wx/supporters.cc' % urllib.urlencode({"until": last_date.strip()}))
def build(bld):
create_version_cc(VERSION, bld.env.CXXFLAGS)