-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (24 loc) · 973 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from distutils.core import setup
import ef
import py2exe
setup(
version = ef.__version__,
description = "Image editor for eventsforce",
name = "ef-image-editor",
options = {
'py2exe': {
'includes': ['sip', 'PyQt4.QtSql', 'lxml.etree', 'lxml._elementpath', 'gzip'],
'packages': ['sqlalchemy'],
'dll_excludes': ['MSVCP90.dll'],
},
},
data_files = [
('sqldrivers', [r'c:\Python27\Lib\site-packages\PyQt4\plugins\sqldrivers\qsqlite4.dll']),
('imageformats', [r'c:\Python27\Lib\site-packages\PyQt4\plugins\imageformats\qjpeg4.dll',
r'c:\Python27\Lib\site-packages\PyQt4\plugins\imageformats\qgif4.dll',
r'c:\Python27\Lib\site-packages\PyQt4\plugins\imageformats\qmng4.dll',
]),
],
# targets to build
windows = ["ef-image-editor.py", 'membercheck.py', 'duplicatedetect.py'],
)