-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (56 loc) · 1.54 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#! /usr/bin/env python3
# coding: utf-8
import platform
from setuptools import setup
setup_kwargs = dict(
name='filefilter',
version='1.0',
description='File Filtering Tool',
author='Shinichi MOTOKI',
author_email='[email protected]',
url='https://github.com/shinichi-motoki/filefilter',
scripts=['filefilter.py'],
)
if platform.system() == 'Windows':
import py2exe
setup_kwargs.update(dict(
options={
"py2exe": {
"bundle_files": 1,
"includes": [
],
"excludes": [
'_ssl',
'_threading_local',
'_lzma',
'_dummy_thread',
'dummy_threading',
'getopt',
'gzip',
'lzma',
'py_compile',
'quopri',
'select',
'selectors',
'string',
'stringprep',
'zipfile',
'calendar',
'distutils',
'doctest',
'email',
'logging',
'optparse',
'pdb',
'pickle',
'pyreadline',
'unittest',
],
"dll_excludes": [
],
}
},
console=['filefilter.py'],
zipfile=None,
))
setup(**setup_kwargs)