diff --git a/facemovie.py b/facemovie.py index d430f3f..ebbd31b 100644 --- a/facemovie.py +++ b/facemovie.py @@ -156,7 +156,7 @@ class FaceMovie(object): Resize should be done somewhere else ! """ filename = os.path.join(out_folder, "output.avi") - fourcc = -1#0#-1 + fourcc = cv.CV_FOURCC('C', 'V', 'I', 'D') fps = 3 # not taken into account frameSize = (self.dim_x, self.dim_y) diff --git a/setup.py b/setup.py index c72370a..792f72a 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,14 @@ Created on 19 avr. 2012 @author: jll ''' -from distutils.core import setup -import py2exe - - # creating executable here -setup(console=['facemovie.py']) \ No newline at end of file +from distutils.core import setup +import py2exe, sys, os + +sys.argv.append('py2exe') + +setup( + options = {'py2exe': {'bundle_files': 1, 'includes': ['numpy'] } }, + console=['facemovie.py'], + zipfile = None, +) \ No newline at end of file