Running the SE|PY ActionScript editor on OS X

I have put together a step by step guide to getting the SE|PY ActionScript editor to run on OS X.

  1. Make sure that you have python installed by running the following command in the terminal (omit the >):
    • If you get an error that it cannot be found go to and download the source. Follow the directions from the site to compile and install it.

      Make sure to follow the directions in Mac/OSX/README. This is required if you want to create apps created with Python (including SE|PY).

      Here are the commands I used to compile Python from the source on OS X

      >./configure –enable-framework
      >sudo make frameworkinstall

  2. Download the source for the SE|PY editor:
    • Via the DevSource from the project page:
    • Via CVS with the following two commands (this will have the most up to date code):
      >cvs|PY login
      >cvs -z3|PY co SciTE
  3. switch to the root directory for the source and try to run the program:
    >pythonw main.pyw
  4. If you get an error about the pyRXP library missing, then you need to install the library.
    1. download the source from:
    2. Switch to the root of the pyRXP library source and run
      >python build
    3. If you are using the default OSX install of python, you may get errors that it can’t find the python header files (if you built and isntalled python yourself you shouldnt get these errors).
      • open, and look for a line like this:


        i edited it to include the python header files directory:

        include_dirs=[RXPDIR, “/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/”],

    4. run
      >python build.
    5. if you don’t get any errors, then run:
      >python install

      The library should now be installed.

  5. If you get an error that pythonw cannot be found:
    1. Check and see if /usr/local/bin/pythonw exists. If it does:
      • Add /usr/local/bin to your path, or call pythonw with the complete path /usr/local/bin/pythonw.
    2. If it is not there, you need to install the wxPython library.
      1. Goto and download and install the library. I suggest that you install the binaries as I was not able to get the source to compile.
  6. You can now try to run SE|PY by switching back to the directory with the source code and typing:

    >pythonw main.pyw

You should now be able to load and run SE|PY. If you have any questions or problems post them in the comments. If you want to contribute to the development of SE|PY then you can join the development mailing list.