> Thanks, Jef and Dan. I'm a bit perturbed that this is so messy; it
> has the smell of something that will break every time the slightest
> change happens to any of the involved components. I'm wondering
> whether Python is really suited to production OpenGL use, which is
> sad, as I've really been enjoying working in it.
matplotlib has a function get_py2exe_datafiles(), so that one can use
this in the setup.py file to get all the necessary extra files.
import matplotlib as mpl
data_files= mpl.get_py2exe_datafiles()
setup(name="WRView",
windows=["WRReader.py"],
options = {"py2exe" : { "dll_excludes": ["MSVCP90.dll"] }
},
data_files = data_files,
}
I'm just wondering if the same sort of approach could be done for PyOpenGL
|