1 from distutils
.core
import setup
3 import sys
, pywintypes
, pythoncom
, win32api
7 # if this doesn't work, try import modulefinder
8 import py2exe
.mf
as modulefinder
10 for p
in win32com
.__path
__[1:]:
11 modulefinder
.AddPackagePath("win32com", p
)
12 for extra
in ["win32com.shell"]: #,"win32com.mapi"
14 m
= sys
.modules
[extra
]
15 for p
in m
.__path
__[1:]:
16 modulefinder
.AddPackagePath(extra
, p
)
18 # no build path setup, no worries.
21 setup(name
="zeroinstall-solver",
22 version
=zeroinstall
.version
,
23 description
="The Zero Install Solver (0solve)",
24 author
="Thomas Leonard, Bastian Eicher",
25 author_email
="zero-install-devel@lists.sourceforge.net",
26 url
="http://0install.net",
32 "excludes": ["adodbapi", "doctest", "pdb", "bdb", "pythonwin", "isapi", "msilib", "json", "email", "hotshot"],
33 "dll_excludes": [ "mswsock.dll", "powrprof.dll", "KERNELBASE.dll", "API-MS-Win-Core-LocalRegistry-L1-1-0.dll", "API-MS-Win-Core-ProcessThreads-L1-1-0.dll", "API-MS-Win-Security-Base-L1-1-0.dll" ]
36 console
=['0solve', '_download_child'])