- 论坛徽章:
- 0
|
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.
ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
USER32.dll - C:\WINDOWS\system32\USER32.dll
SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
可是系统里面明明有这些文件
前面怀疑是setup.py有问题,可是怎么改也不行:(
- #a.py
- import base64
- import zlib
- import sys
-
- f = file(sys.argv[1], "rb")
- lines = f.readlines()
-
- f.close()
- f = file(sys.argv[2],'w')
- start = False
- message = ""
- f.close
- def dealwith(message):
- f.write ("-------------------------------------------------------------\n")
- try:
- f.write(zlib.decompress(base64.b64decode(message)[0x48:]))
- except:
- return
- f.write ("\n-------------------------------------------------------------\n")
-
- for line in lines:
- if "MessageStart" in line:
- start = True
- elif "MessageEnd" in line:
- dealwith(message)
- start = False
- message = ""
- elif start:
- message += line
复制代码
- #seup.py
- from distutils.core import setup
- import py2exe
-
- setup(name = "transtool", windows=["a.py"],)
复制代码
哪位大哥再帮我看看?谢谢
[ 本帖最后由 wolfg 于 2006-2-14 16:46 编辑 ] |
|