Copy more stuff.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index 90762053e6005e9f0b964bb7d5f225bd7c0d26b9..d2ce1996c1a63f87f97aed20ecf5fe19b776d3e3 100644 (file)
--- a/cscript
+++ b/cscript
@@ -32,6 +32,7 @@
 #
 
 import os
+import shutil
 
 def dependencies(target, options):
     if (target.platform == 'windows' and target.version == 'xp') or (options is not None and 'jpeg' in options and options['jpeg'] == 'oj1'):
@@ -74,7 +75,8 @@ def package(target, version):
     if target.platform == 'windows':
         d = 'build/libdcp-%s' % version
         os.mkdir(d)
-        shutil.copyfile('build/src/tools/dcpinfo.exe', d)
+        for f in ['asdcp-cth.dll', 'cxml-0.dll', 'dcp-1.0.dll', 'kumu-cth.dll', 'libopenjp2.dll', 'dcpinfo.exe']:
+            shutil.copyfile('%s/bin/%s' % (target.directory, f), d)
         os.system('zip -9 -r build/libdcp-%s.zip d' % version)
         return os.path.abspath('build/libdcp-%s.zip' % version)