forked from EconForge/dolo.py
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup_windows.py
50 lines (36 loc) · 1.11 KB
/
setup_windows.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
from setuptools import setup,find_packages
import py2exe
from dolo import __version__
from glob import glob
data_files = [(
"Microsoft.VC90.CRT",
glob("C:\\Program Files\\pythonxy\\console\\Microsoft.VC90.CRT\\*.*")
)]
excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
"pywin.dialogs", "pywin.dialogs.list",
"Tkconstants","Tkinter","tcl","zmq"]
import sys
sys.path.append("C:\\Program Files\\pythonxy\\console\\Microsoft.VC90.CRT\\")
setup (
name = 'dolo',
version = __version__,
# Declare your packages' dependencies here, for eg:
# Fill in these to make your Egg ready for upload to
# PyPI
author = 'Pablo Winant',
author_email = '',
url = 'www.mosphere.fr',
license = 'BSD-2',
packages = ['dolo'],
scripts = ['bin/dolo-matlab','bin/dolo-recs'],
data_files = data_files,
options = {
"py2exe" : {
#"includes" : ["sip"],
"excludes" : excludes,
"dist_dir" : "../windist/",
"bundle_files" : 3
}
},
console = ['bin/dolo-matlab','bin/dolo-recs'],
)