Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
regarding making an exe for windows
i hav python2.5, matplotlib0.90.1, and py2exe for python 2.5 all on windows... i hav a python program(letsc.py) which uses the matplotlib package... and i want 2 make an exe of it for distribution on other comps... i used py2exe... i wrote a setup.py whose contents are :
from distutils.core import setup
'packages' : ['matplotlib', 'pytz'],
as per the site [link]http://www.py2exe.org/index.cgi/MatPlotLib][/link]..
. welll in the command prompt (not >>>) i typed [in the correct directory] "python setup.py py2exe". it gave out a lot of text on the console but finally in the end it displayed "error: can't copy 'F:Python25Libsite-packagesmatplotlibmpl-datafonts' : does'nt exist or not a regular file" (when actually there is a directory called mpl-data which has 3 subdirectories ... afm, pdfcorefonts and ttf) and the process stops. It creates the usual dist and build folders but there isnt the required exe in the dist folder... any help will be appreciated... thanx a lot