forked from ilektrojohn/creepy
-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathsetup.py
42 lines (38 loc) · 1.4 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from distutils.core import setup
import py2exe, sys, os
sys.argv.append('py2exe')
includes = ["sip",
"distutils",
"PyQt4.QtNetwork",
"tweepy",
"flickrapi",
"instagram",
"googleapiclient.discovery",
"oauth2client.client",
"dateutil.parser",
"dbhash"]
DATA = [
('imageformats', ['C:\\Users/ikakavas/.virtualenvs/creepy/Lib/site-packages/PyQt4/plugins/imageformats/qjpeg4.dll',
'C:\\Users/ikakavas/.virtualenvs/creepy/Lib/site-packages/PyQt4/plugins/imageformats/qgif4.dll',
'C:\\Users/ikakavas/.virtualenvs/creepy/Lib/site-packages/PyQt4/plugins/imageformats/qico4.dll',
'C:\\Users/ikakavas/.virtualenvs/creepy/Lib/site-packages/PyQt4/plugins/imageformats/qmng4.dll',
'C:\\Users/ikakavas/.virtualenvs/creepy/Lib/site-packages/PyQt4/plugins/imageformats/qsvg4.dll',
'C:\\Users/ikakavas/.virtualenvs/creepy/Lib/site-packages/PyQt4/plugins/imageformats/qtiff4.dll'
]
),
'include/cacerts.txt'
]
setup(
name='creepy',
version='1.2',
author='Yiannis Kakavas',
author_email='[email protected]',
options={
"py2exe": {
"includes": includes
}
},
windows=[{'script': "CreepyMain.py", 'icon_resource': [(1, "include/creepy.ico")]}],
zipfile=None,
data_files=DATA,
)