forked from Appalbarry/Gmail-Backup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (44 loc) · 1.57 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
43
44
45
46
47
#!/usr/bin/env python2.5
# -*- coding: utf-8 -*-
#
# Gmail Backup setup script
#
# Copyright © 2008, 2009, 2010 Jan Svec <[email protected]> and Filip Jurcicek <[email protected]>
#
# This file is part of Gmail Backup.
#
# Gmail Backup is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# Gmail Backup is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with Gmail Backup. If not, see <http://www.gnu.org/licenses/
#
# See LICENSE file for license details
from distutils.core import setup
import py2exe
import sys
from glob import glob
setup(
# The first three parameters are not required, if at least a
# 'version' is given, then a versioninfo resource is built from
# them and added to the executables.
# targets to build
#windows = ['lmedit.py'],
console = ['gmail-backup.py'],
windows = [{'script': 'gmail-backup-gui.py', 'icon_resources': [(1, 'gmb.ico')]}],
options = {'py2exe':
{'optimize': 2,
"dll_excludes": ["msvcp90.dll"],
}
},
data_files = [
('.', ['gmb.gif', 'gmb.ico']),
]
)