My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 290: about py2exe
2 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  txprog


 
Reported by sth20012...@gmail.com, Jul 24, 2010

I have tried to tranform the PYMT example into the executable file under windows with py2exe, in order to use it on other computer. For example: I use the setup.py file as follows:

# setup.py
from distutils.core import setup
import py2exe

setup(name='video',
      version='1.0.0.1',
      author='pyMT',
      data_files=[('', ['softboy.avi'])],
      windows=[{'script':'video.py'}])

print "---Done---"

Then as running the video.exe file under dist folder, I have a problem. The error is as follow:


[INFO              ] PyMT v0.5.0b4-dev
[WARNING           ] [Core    ] Accelerate module not available <No module named c_accelerate>
[INFO              ] [Logger  ] Record log in C:\Users\wanglc/.pymt/logs\pymt_10-07-24_22.txt
[WARNING           ] [Core    ] Execute "python setup.py build_ext --inplace"
Traceback (most recent call last):
  File "VideoPlayer.py", line 1, in <module>
  File "pymt\__init__.pyc", line 145, in <module>
  File "pymt\texture.pyc", line 11, in <module>
  File "OpenGL\GL\__init__.pyc", line 2, in <module>
  File "OpenGL\raw\GL\__init__.pyc", line 6, in <module>
  File "OpenGL\raw\GL\constants.pyc", line 7, in <module>
  File "OpenGL\platform\__init__.pyc", line 36, in <module>
  File "OpenGL\platform\__init__.pyc", line 27, in _load
  File "OpenGL\plugins.pyc", line 14, in load
  File "OpenGL\plugins.pyc", line 28, in importByName
ImportError: No module named win32

What does the win32 module refer to?
Could you give me any advice and help?
Thanks a lot!!!

Jul 27, 2010
#1 sth20012...@gmail.com
ok....
Jul 27, 2010
Project Member #2 dennd...@gmail.com
Please be patient.
We can't always immediately respond to issues, but please be assured that we do take all issues into account.

In order to run a PyMT app on another computer without installing PyMT, its dependencies and Python, we intend to provide a portable version of PyMT that you will be able to use for that. However, it is not finished yet and we're currently concentrating on the 0.5 release which is due very soon. I hope that we will get a windows version of portable PyMT done as well, though.
As to your specific issue I am not too sure what the problem is. I suggest you wait for the portable pymt.

Thanks and again, we're just humans. :-)
Jul 28, 2010
#3 sth20012...@gmail.com
:)
Aug 19, 2010
Project Member #4 txprog
(No comment was entered for this change.)
Status: Accepted
Labels: Type-Enhancement
Aug 21, 2010
Project Member #5 thomas.h...@gmail.com
portable version is done, and can be used on computer without python/pymt installed.

Do we want a script to make a portable pymt app?  make a portable pymt package, include user app, and create script that makes it launch the users app when double clicked.

Can be easy to generate with pymt portable, but application size can become very large about 170MB for a portable package + user application and resources.  but can be nice to have maybe

Powered by Google Project Hosting