17 lines
356 B
Python
17 lines
356 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from distutils.core import setup
|
||
|
from glob import glob
|
||
|
import py2exe
|
||
|
|
||
|
setup(
|
||
|
data_files = [("Microsoft.VC90.CRT", glob(r'C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*'))],
|
||
|
options={
|
||
|
"py2exe":{
|
||
|
|
||
|
"dll_excludes": ["MSVCP90.dll", ]
|
||
|
}
|
||
|
},
|
||
|
console=["main.py"]
|
||
|
)
|