Hi guys,
I'm trying to create an executable of my doit using project with
cx_Freeze (Python 3.3) to allow easier windows deployment. The problem
I'm now encountering is that the resulting doit-executable crashes
with this stacktrace:
Traceback (most recent call last):
File "/home/dominik/coding/uristmap/lib/python3.3/site-packages/cx_Freeze/initscripts/Console.py",
line 27, in <module>
exec(code, m.__dict__)
File "../bin/doit", line 5, in <module>
File "/home/dominik/coding/uristmap/lib/python3.3/importlib/_bootstrap.py",
line 1565, in _find_and_load
return _find_and_load_unlocked(name, import_)
File "/home/dominik/coding/uristmap/lib/python3.3/importlib/_bootstrap.py",
line 1532, in _find_and_load_unlocked
loader.load_module(name)
File "/home/dominik/coding/uristmap/lib/python3.3/site-packages/pkg_resources.py",
line 3007, in <module>
working_set.require(__requires__)
File "/home/dominik/coding/uristmap/lib/python3.3/site-packages/pkg_resources.py",
line 728, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/dominik/coding/uristmap/lib/python3.3/site-packages/pkg_resources.py",
line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: doit==0.26.0
You can view the cx_setup.py file here:
http://pastebin.com/1ZsERVrr .
I tried the genstandalone.py to create the doit executable but I only
get a file that does nothing at all from that script. Has anyone here
an idea how to properly handle this or a recommandation for a better
way?