If you are still trying to build the Windows installer, you don't need to install `guidata` at all.
2012/5/17 Steve <[email protected]>: > Ahh.. bummer. That sounds like way more work than I want. > > Hmm.. Maybe pip install guidata doesn't have all the dependencies set up > properly. The traceback make it appears it's the guidata code trying to > import cx_freeze, meaning its pip installer should know to download the sub > package. Maybe it's optional and this should actually be a spyder > dependency of some sort? Is there a way to handle optional dependencies > through pip? It would be nice if spyder had a script or some method to > easily get all of its dependencies. This issue could be handled there even > if it is technically the fault of guidata. I'll give up on this approach > since it won't do quite what I was looking for. > > Thanks! > Steve > > On Thursday, May 17, 2012 10:17:12 AM UTC-5, Pierre Raybaut wrote: >> >> Running create_exe.py will create the portable version of Spyder (only >> tested on Windows, could work theoretically on Linux but would require >> some debugging), a.k.a. the stand-alone Spyder executable. >> >> If you want to build the Spyder Windows installer (NSIS installer), >> know that this is nothing but a Python(x,y) plugin, so either you >> clone the whole Python(x,y) repository (huge... not a good idea) or >> -recommended- you clone the pythonxy-spyder repository which is a fork >> I made to be able to build this installer without having the whole >> Python(x,y) repo with me all the time: >> http://code.google.com/p/spyderlib/source/checkout?repo=pythonxy-spyder >> >> HTH >> Pierre >> >> 2012/5/17 Steve: >> > I'm trying to create an installer that bundles in custom widgets and >> > modifications for those widgets. I was trying to execute >> > create_exe.py. Is >> > that the correct way to generate the windows installer? If so I got >> > this >> > Traceback: >> > Traceback (most recent call last): >> > File "D:\Devel\garmin-spyderlib.v21\create_exe.py", line 46, in >> > <module> >> > create_executable() >> > File "D:\Devel\garmin-spyderlib.v21\create_exe.py", line 26, in >> > create_executa >> > ble >> > target_dir="%s-win32-sa-%s" % (name, ver)) >> > File "C:\Python27\lib\site-packages\guidata\disthelpers.py", line 238, >> > in >> > setu >> > p >> > self.add_executable(self.script, self.target_name, icon=self.icon) >> > File "C:\Python27\lib\site-packages\guidata\disthelpers.py", line 494, >> > in >> > add_ >> > executable >> > from cx_Freeze import Executable >> > ImportError: No module named cx_Freeze >> > >> > >> > Any ideas how to fix this? >> > >> > Thanks, >> > Steve >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "spyder" group. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msg/spyderlib/-/kQRxRXL6j0kJ. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/spyderlib?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/spyderlib/-/e3as9lWvhx8J. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/spyderlib?hl=en. -- You received this message because you are subscribed to the Google Groups "spyder" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
