diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-17 19:53:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-03 17:02:35 +0100 |
| commit | 9a56728c049799a57a2011469bb51c10d3e96a41 (patch) | |
| tree | da5f453fe59b28a88efdf8a6f0264e6151fc495a /src/wscript | |
| parent | 48cf75aea03424f86d61f73b7401628913738c0c (diff) | |
Try to provide python3 compatibility.
Diffstat (limited to 'src/wscript')
| -rw-r--r-- | src/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wscript b/src/wscript index 638a89d..abe2318 100644 --- a/src/wscript +++ b/src/wscript @@ -3,7 +3,7 @@ def configure(conf): # Don't include the micro version number in PACKAGE_VERSION, as # this ends up in MXFs and screws up DCP-o-matic's test references # every time it changes - s = conf.env.VERSION.split('.') + s = conf.env.VERSION.split(b'.') major_minor = '%s.%s.0' % (s[0], s[1]) conf.env.append_value('CXXFLAGS', '-DPACKAGE_VERSION="%s"' % major_minor) if conf.options.target_windows: |
