summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-17 20:01:13 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-17 20:01:13 +0000
commit825931899c781c0b8ab21b0a22121428e24e458a (patch)
tree33940354d40e9dabdb9512ff60fa0b10d9fb8fcd /src
parent06ab922276c2aaa443f48793e29265d308b52830 (diff)
Re-fix python3 wscript problem.
Diffstat (limited to 'src')
-rw-r--r--src/wscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wscript b/src/wscript
index 08c9bd7..638a89d 100644
--- a/src/wscript
+++ b/src/wscript
@@ -3,9 +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
- print(conf.env.VERSION)
- s = conf.env.VERSION.split(b'.')
- print(s)
+ s = conf.env.VERSION.split('.')
major_minor = '%s.%s.0' % (s[0], s[1])
conf.env.append_value('CXXFLAGS', '-DPACKAGE_VERSION="%s"' % major_minor)
if conf.options.target_windows: