From: Forrest Voight Date: Thu, 18 Oct 2012 02:03:54 +0000 (-0400) Subject: Fix needed to fix this error with Windows build. See http://stackoverflow.com/questio... X-Git-Tag: 8.2~1 X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=commitdiff_plain;h=f0925a6ee27c669dbb5872331d7b2fbde08fa9c1 Fix needed to fix this error with Windows build. See stackoverflow.com/questions/1439621/problem-with-loading-win32file-pyd-on-python-2-6 Traceback (most recent call last): File "run_p2pool.py", line 3, in from p2pool import main File "zipextimporter.pyc", line 82, in load_module File "p2pool\main.pyc", line 22, in File "zipextimporter.pyc", line 82, in load_module File "p2pool\bitcoin\worker_interface.pyc", line 12, in File "zipextimporter.pyc", line 82, in load_module File "p2pool\util\jsonrpc.pyc", line 8, in File "zipextimporter.pyc", line 82, in load_module File "twisted\web\client.pyc", line 21, in File "zipextimporter.pyc", line 82, in load_module File "twisted\internet\endpoints.pyc", line 28, in File "zipextimporter.pyc", line 82, in load_module File "twisted\internet\stdio.pyc", line 28, in File "zipextimporter.pyc", line 82, in load_module File "twisted\internet\_win32stdio.pyc", line 15, in File "zipextimporter.pyc", line 82, in load_module File "twisted\internet\_pollingfile.pyc", line 102, in File "zipextimporter.pyc", line 98, in load_module ImportError: MemoryLoadLibrary failed loading win32file.pyd --- diff --git a/setup.py b/setup.py index 631a401..3067cd3 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ try: console=['run_p2pool.py'], options=dict(py2exe=dict( bundle_files=1, - dll_excludes=['w9xpopen.exe'], + dll_excludes=['w9xpopen.exe', "mswsock.dll", "MSWSOCK.dll"], includes=['twisted.web.resource', 'ltc_scrypt'], )), zipfile=None,