I am getting
Code:
C:\calibre>python installer\windows\freeze.py
C:\Python26\lib\site-packages\py2exe\build_exe.py:16: DeprecationWarning: the se
ts module is deprecated
import sets
Setup calibre version: 0.4.130
running py2exe
creating C:\calibre\build\bdist.win32
creating C:\calibre\build\bdist.win32\winexe
creating C:\calibre\build\bdist.win32\winexe\collect-2.6
creating C:\calibre\build\bdist.win32\winexe\bundle-2.6
creating C:\calibre\build\bdist.win32\winexe\temp
creating C:\calibre\build\py2exe
*** searching for required modules ***
Traceback (most recent call last):
File "installer\windows\freeze.py", line 194, in <module>
sys.exit(main())
File "installer\windows\freeze.py", line 186, in main
'dll_excludes' : ['mswsock.dll'],
File "C:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "C:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "installer\windows\freeze.py", line 59, in run
py2exe.build_exe.py2exe.run(self)
File "C:\Python26\lib\site-packages\py2exe\build_exe.py", line 243, in run
self._run()
File "C:\Python26\lib\site-packages\py2exe\build_exe.py", line 296, in _run
self.find_needed_modules(mf, required_files, required_modules)
File "C:\Python26\lib\site-packages\py2exe\build_exe.py", line 1297, in find_n
eeded_modules
mf.import_hook(mod)
File "C:\Python26\Lib\site-packages\py2exe\mf.py", line 719, in import_hook
return Base.import_hook(self,name,caller,fromlist,level)
File "C:\Python26\Lib\site-packages\py2exe\mf.py", line 136, in import_hook
q, tail = self.find_head_package(parent, name)
File "C:\Python26\Lib\site-packages\py2exe\mf.py", line 204, in find_head_pack
age
raise ImportError, "No module named " + qname
ImportError: No module named pkg_resources
trying to run the first command. Is there something I should have run first to create these?
The good side of all these questions is that I am updating the wiki with my finidngs so that hopefully the next person going down the Windows only route will not need to ask as many questions