Cleanup: move EqualityOptions into its own file.
[libdcp.git] / wscript
diff --git a/wscript b/wscript
index 5c9e03628facf129cc879dc377c219fa3b96276c..54b965637a05075f7d4e0d4df37f4180b0dbd0fe 100644 (file)
--- a/wscript
+++ b/wscript
@@ -48,6 +48,10 @@ if this_version == '':
 else:
     VERSION = this_version[1:].strip()
 
+if sys.version_info.major == 2:
+    # Handle Python 2 (for Ubuntu 16.04)
+    VERSION = VERSION.encode('UTF-8')
+
 API_VERSION = '-1.0'
 
 def options(opt):