-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 942 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
29
30
31
32
33
34
35
36
37
38
39
40
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 11 23:30:41 2014
@author: Jamie
"""
import sys
from distutils.core import setup
import py2exe
from multifeed import TITLE, VERSION, AUTHOR
import shutil
import os
shutil.rmtree('dist')
sys.argv.append("py2exe")
setup(
console=['multifeed.py'],
name = TITLE,
version = VERSION,
author= AUTHOR,
data_files = ["praw.ini", "checklist.txt"],
zipfile = None, #"{}.zip".format(TITLE),
options={
"py2exe":{
"unbuffered": True,
"bundle_files":1,
"optimize": 0,
"compressed": True,
"xref": False,
"ascii": False,
"includes":["htmlentitydefs"]
}
}
)
shutil.rmtree('build')
os.remove(os.path.join('dist', 'w9xpopen.exe'))