Creates singke executable for application.

Exe tested and working. To be tested on another machine.

Sets the media codec. To be chosen wisely later.

TODO :
Allow minimal interaction through console.
Prepare better documentation
This commit is contained in:
julien Lengrand-Lambert
2012-04-21 00:59:08 +02:00
parent b84c1d419d
commit f6871448d2
2 changed files with 11 additions and 6 deletions

View File

@@ -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'])
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,
)