I am trying to 'compile' an application with four module (.py) files. I
have tried with the setup.py script and I can't figure out how to include
the modules. I an now trying with a cxfreeze script in a bash file and
still can't come to a successful end. My script is :
cxfreeze inventory_menu.py --target-dir=dist --target-name=HomeInv
--include-modules=inventory_functions.py,inventory_user_interface.py,invlog.py
This script runs and gives an error on the firse incluce:
quote:
/home/max/cx_ubuntu/freeze.sh: line 6: cd: /max/cx_ububtu: No such file or
directory
Traceback (most recent call last):
File "/usr/bin/cxfreeze", line 5, in <module>
main()
File "/usr/lib/pymodules/python2.7/cx_Freeze/main.py", line 188, in main
freezer.Freeze()
File "/usr/lib/pymodules/python2.7/cx_Freeze/freezer.py", line 572, in
Freeze
self._FreezeExecutable(executable)
File "/usr/lib/pymodules/python2.7/cx_Freeze/freezer.py", line 153, in
_FreezeExecutable
finder = self._GetModuleFinder(exe)
File "/usr/lib/pymodules/python2.7/cx_Freeze/freezer.py", line 323, in
_GetModuleFinder
finder.IncludeModule(name)
File "/usr/lib/pymodules/python2.7/cx_Freeze/finder.py", line 531, in
IncludeModule
namespace = namespace)
File "/usr/lib/pymodules/python2.7/cx_Freeze/finder.py", line 274, in
_ImportModule
raise ImportError("No module named %r" % name)
ImportError: No module named 'inventory_functions.py'
Unquote
I have tried with the --include-path= option and I get the same error.
Can anybody point me in the right direction?
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users