[MacPorts] #42406: Importing sdl2 in python3.3 gives PYSDL2_DLL_PATH: unset

MacPorts noreply at macports.org
Sat Feb 8 02:22:07 PST 2014


#42406: Importing sdl2 in python3.3 gives PYSDL2_DLL_PATH: unset
------------------------------+----------------------
  Reporter:  russell.jones@…  |      Owner:  jmr@…
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.1
Resolution:                   |   Keywords:
      Port:  py33-sdl2        |
------------------------------+----------------------
Changes (by jmr@…):

 * cc: jmr@… (removed)
 * cc: jwa@… (added)
 * owner:  macports-tickets@… => jmr@…
 * status:  new => assigned


Comment:

 Hmm, yeah. `import ctypes.util; ctypes.util.find_library('SDL2')` returns
 None in python3.3 (as opposed to '/opt/local/lib/libSDL2.dylib’ in 2.7).
 Not sure if ctypes needs fixing (to search in ${prefix}/lib for example)
 or if I should just hardcode the path to the lib in the python code.

-- 
Ticket URL: <https://trac.macports.org/ticket/42406#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list