Please remove Python from the source.

  • Sparkette
    23rd Aug 2011 Member 0 Permalink
    Ever since the Python update came out, I have been unable to compile The Powder Toy under Mac OS X. Since Lua is being used instead, and Python is no longer needed, can somebody please remove all the Python stuff from the source code? I'm sure others must be having this problem as well.
  • vanquish349
    23rd Aug 2011 Member 0 Permalink
    you can just delete the python, the makefile doesnt use it
  • Sparkette
    23rd Aug 2011 Member 0 Permalink
    Yes it does. There's Python stuff in the makefile. Anyway, I did delete all of it, including the stuff in the makefile, and now it's complaining about unresolved externals relating to Lua, which is strange since I don't even have the library installed, and if that's the case it would just tell me that instead of trying to link anyway. The problem is I can't seem to find that library anywhere...can anyone please point me in the right direction? Remember I need the Mac version.
  • MasterMind555
    23rd Aug 2011 Member 0 Permalink
    @flarn2006 (View Post)
    And the !Python commands ?
  • triclops200
    23rd Aug 2011 Former Staff 0 Permalink
    @flarn2006 (View Post)
    It's called learning to compile the python libs before you complain. Notice, we can compile for crapintosh, why can't you?
  • Sparkette
    23rd Aug 2011 Member 0 Permalink
    Why am I being flamed? I'm just asking for help; I'm not blaming the developers for anything. And when I said I'm sure other people were having the problem too, I didn't mean everyone.
    By the way, if you look at some of my previous posts, you'll see when I had been able to compile for Mac (before the update which broke it for me) I had actually given advice to other people on how to do it. And the ! commands are just the old console commands; there isn't any Python anywhere in TPT as far as I know.
  • cracker64
    23rd Aug 2011 Developer 0 Permalink
    If you are getting Lua unresolved errors... then you can either disable the Lua console or download Lua..
  • triclops200
    23rd Aug 2011 Former Staff 0 Permalink
    @flarn2006 (View Post)
    Sorry I flamed, I'm in a bad mood because my back is killing me right now. Try compiling the lua libs.
  • Cr15py
    23rd Aug 2011 Member 0 Permalink
    Let me suggest something, if you don't want it to be compiled in, don't compile it in. Just make another build target and call it something like powder-nopy and just remove the python flags, sources, and headers. Not overtly hard. That or you could completely remove it from the source.

    EDIT: Besides, some people may want to use Python.
  • Simon
    23rd Aug 2011 Administrator 0 Permalink
    Python has been disabled in the makefile for a while now, it's just Lua now, you can either compile and install the Lua libs yourself or just disable it (remove -llua5.1 from LFLAGS and -DLUACONSOLE from CFLAGS)