Hi Charles,

 

I recommend that you either check numpy documentation, or ask on their mailing list. I know that it’s possible to use numpy with py2exe, and that they have some special magic for it, but I’ve never done it myself.

 


From: py2exe-users-bounces@lists.sourceforge.net [mailto:py2exe-users-bounces@lists.sourceforge.net] On Behalf Of Charles Hanot
Sent: dinsdag 10 oktober 2006 14:42
To: py2exe-users@lists.sourceforge.net
Subject: [Py2exe-users] Using Py2exe with numpy

 

Hello,

 

I’m trying to use py2exe but I have a problem J . I’ve already compiled some program with it but this time I have a proble because my program is using Numpy modules.

 

My setup.py is the following

 

from distutils.core import setup

import py2exe, sys

 

sys.path.append("tools")

sys.path.append("report")

sys.path.append("spirent")

sys.path.append("numpydir")

 

 

 

setup(

   console = ['checkfile.py'],

   )

 

But when I enter the command “python setup.py py2exe”, lots of numpy files appear to be missing. Therefore, my executable file does not work.

 

Is there something special to do with the setup.py in order to import numpy modules?

 

Thank you very much for you help

 

Best Regards


This e-mail communication contains information that is confidential and may also be privileged. It is intended for the exclusive use of the addressees. If you are not the person or organization to whom it is addressed, you must not copy, distribute or take any action in reliance upon it. If you received this communication in error, please notify Septentrio nv immediately [ telephone +32 [0] 16 300800 ]. Septentrio nv will not accept liability for contractual commitments made by individuals employed by this company outside the scope of our business.