Hi, I'm trying to package a piece of software using cx_freeze. After adding
a few undetected dependencies to my setup.py, it works great on Linux.
However, when trying to build a package in Windows XP, elixir is not
detected and I get an ImportError at runtime.
Adding it to the setup.py includes only results in the same ImportError
when trying to build the package.
However the software runs correctly before packaging,
and elixir-0.7.1-py2.7.egg is found in C:\Python27\Lib\site-packages. Why
could it be that the loader cannot find elixir? Thanks!
Diego

>python setup.py build
> running build
> running build_exe
> Traceback (most recent call last):
>   File "setup.py", line 18, in <module>
>     executables = [Executable("bre.py", base = base)])
>   File "C:\Python27\lib\site-packages\cx_Freeze\dist.py", line 365, in
> setup
>     distutils.core.setup(**attrs)
>   File "C:\Python27\lib\distutils\core.py", line 152, in setup
>     dist.run_commands()
>   File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
>     self.run_command(cmd)
>   File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
>     cmd_obj.run()
>   File "C:\Python27\lib\distutils\command\build.py", line 127, in run
>     self.run_command(cmd_name)
>   File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
>     self.distribution.run_command(command)
>   File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
>     cmd_obj.run()
>   File "C:\Python27\lib\site-packages\cx_Freeze\dist.py", line 235, in run
>     freezer.Freeze()
>   File "C:\Python27\lib\site-packages\cx_Freeze\freezer.py", line 570, in
> Freeze
>     self.finder = self._GetModuleFinder()
>   File "C:\Python27\lib\site-packages\cx_Freeze\freezer.py", line 323, in
> _GetMo
> duleFinder
>     finder.IncludeModule(name)
>   File "C:\Python27\lib\site-packages\cx_Freeze\finder.py", line 526, in
> Include
> Module
>     namespace = namespace)
>   File "C:\Python27\lib\site-packages\cx_Freeze\finder.py", line 274, in
> _Import
> Module
>     raise ImportError("No module named %r" % name)
> ImportError: No module named 'elixir'
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to