dysxqer
19-01-2011, 20:17
Hello,
Team 166 has finalized a .csv parser made in python that graphs sets of data obtained from running robot code. However, in trying to convert this file to an executable to release to the public, we've had numerous problems using py2exe with matplotlib and trying to configure it to create a working exe. Currently, we are unable to include matplotlib in the final exe, even though it is included and is usable in the python script.
I've already taken a look at the matplotlib page on py2exe (http://www.py2exe.org/index.cgi/MatPlotLib) but the info there hasn't given us much luck. We were hoping that someone with experience with matplotlib and py2exe can help us with the configurations.
Our setup.py:
from distutils.core import setup
import py2exe
import matplotlib
setup(
data_files=matplotlib.get_py2exe_datafiles(),
console=['csvparse.py'],
options={'py2exe': {
}}
)
Team 166 has finalized a .csv parser made in python that graphs sets of data obtained from running robot code. However, in trying to convert this file to an executable to release to the public, we've had numerous problems using py2exe with matplotlib and trying to configure it to create a working exe. Currently, we are unable to include matplotlib in the final exe, even though it is included and is usable in the python script.
I've already taken a look at the matplotlib page on py2exe (http://www.py2exe.org/index.cgi/MatPlotLib) but the info there hasn't given us much luck. We were hoping that someone with experience with matplotlib and py2exe can help us with the configurations.
Our setup.py:
from distutils.core import setup
import py2exe
import matplotlib
setup(
data_files=matplotlib.get_py2exe_datafiles(),
console=['csvparse.py'],
options={'py2exe': {
}}
)