loco-lab / hera-display-games

Games to be played on the HERA display
MIT License
0 stars 0 forks source link

make work on mac #24

Open dannyjacobs opened 4 years ago

dannyjacobs commented 4 years ago

Currently the install process borks with

(HAM) djacobs@hayek:hera-display-games (newtonian-sprite)$ pip install -e .
Obtaining file:///Users/djacobs/src/hera-display-games
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: pygame in /Users/djacobs/miniconda3/envs/HAM/lib/python3.6/site-packages (from hera-display-games==0.0.post0.dev98+g8bebba8.dirty) (1.9.6)
Requirement already satisfied: click in /Users/djacobs/miniconda3/envs/HAM/lib/python3.6/site-packages (from hera-display-games==0.0.post0.dev98+g8bebba8.dirty) (7.0)
Collecting evdev
  Using cached https://files.pythonhosted.org/packages/fe/6e/3fa84a43571dec4d00dc26befccc9867b6b3263651531cbc1345f718860f/evdev-1.2.0.tar.gz
Requirement already satisfied: numpy in /Users/djacobs/miniconda3/envs/HAM/lib/python3.6/site-packages (from hera-display-games==0.0.post0.dev98+g8bebba8.dirty) (1.17.4)
Building wheels for collected packages: evdev
  Building wheel for evdev (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/djacobs/miniconda3/envs/HAM/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/setup.py'"'"'; __file__='"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-wheel-4ur4wbfb --python-tag cp36
       cwd: /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/
  Complete output (37 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.6
  creating build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/device.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/ecodes.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/eventio.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/eventio_async.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/events.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/evtest.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/ff.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/genecodes.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/uinput.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  copying evdev/util.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
  running build_ext
  running build_ecodes
  The 'linux/input.h' and 'linux/input-event-codes.h' include files
  are missing. You will have to install the kernel header files in
  order to continue:

      yum install kernel-headers-$(uname -r)
      apt-get install linux-headers-$(uname -r)
      emerge sys-kernel/linux-headers
      pacman -S kernel-headers

  In case they are installed in a non-standard location, you may use
  the '--evdev-headers' option to specify one or more colon-separated
  paths. For example:

      python setup.py \
        build \
        build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \
        build_ext --include-dirs  path/ \
        install
  ----------------------------------------
  ERROR: Failed building wheel for evdev
  Running setup.py clean for evdev
Failed to build evdev
Installing collected packages: evdev, hera-display-games
    Running setup.py install for evdev ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/djacobs/miniconda3/envs/HAM/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/setup.py'"'"'; __file__='"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-record-kttxlx07/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/
    Complete output (37 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.7-x86_64-3.6
    creating build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/device.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/ecodes.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/eventio.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/eventio_async.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/events.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/evtest.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/ff.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/genecodes.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/uinput.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    copying evdev/util.py -> build/lib.macosx-10.7-x86_64-3.6/evdev
    running build_ext
    running build_ecodes
    The 'linux/input.h' and 'linux/input-event-codes.h' include files
    are missing. You will have to install the kernel header files in
    order to continue:

        yum install kernel-headers-$(uname -r)
        apt-get install linux-headers-$(uname -r)
        emerge sys-kernel/linux-headers
        pacman -S kernel-headers

    In case they are installed in a non-standard location, you may use
    the '--evdev-headers' option to specify one or more colon-separated
    paths. For example:

        python setup.py \
          build \
          build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \
          build_ext --include-dirs  path/ \
          install
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/djacobs/miniconda3/envs/HAM/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/setup.py'"'"'; __file__='"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-install-ecuhw1__/evdev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-record-kttxlx07/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
(HAM) djacobs@hayek:hera-display-games (newtonian-sprite)$
dannyjacobs commented 4 years ago

pygame is not native to mac. I attempted to install per this guy, but massive install errors, python 2?

(HAM) djacobs@hayek:hera-display-games (newtonian-sprite)$ pip3 install hg+http://bitbucket.org/pygame/pygame
Collecting hg+http://bitbucket.org/pygame/pygame
  Cloning hg http://bitbucket.org/pygame/pygame to /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs
  Running command hg clone --noupdate -q http://bitbucket.org/pygame/pygame /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs
  Running command hg update -q
Building wheels for collected packages: pygame
  Building wheel for pygame (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/setup.py'"'"'; __file__='"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-wheel-o1pd3tyv --python-tag cp37
       cwd: /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/
  Complete output (387 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.12-x86_64-3.7
  creating build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/_camera_opencv_highgui.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/_camera_vidcapture.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/_dummybackend.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/_numpysndarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/_numpysurfarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/camera.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/colordict.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/compat.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/cursors.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/freetype.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/ftfont.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/locals.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/macosx.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/midi.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/pkgdata.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/sndarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/sprite.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/surfarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/sysfont.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  copying lib/version.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
  copying lib/gp2x/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
  copying lib/gp2x/constants.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
  copying lib/gp2x/locals.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/threads
  copying lib/threads/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/threads
  copying lib/threads/Py25Queue.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/threads
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/__main__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/base_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/blit_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/bufferproxy_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/camera_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/cdrom_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/cdrom_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/color_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/compat_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/cursors_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/display_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/draw_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/event_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/fastevent_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/font_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/font_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/freetype_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/freetype_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/ftfont_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/ftfont_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/gfxdraw_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/image__save_gl_surface_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/image_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/image_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/imageext_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/imageext_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/joystick_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/key_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/mask_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/math_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/midi_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/midi_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/mixer_music_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/mixer_music_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/mixer_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/mixer_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/mouse_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/overlay_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/pixelarray_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/pixelcopy_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/rect_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/rwobject_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/scrap_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/scrap_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/sndarray_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/sndarray_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/sprite_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/surface_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/surfarray_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/surfarray_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/surflock_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/sysfont_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/test_test_.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/threads_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/time_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  copying test/transform_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/arrinter.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/async_sub.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/buftools.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/endian.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/png.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/run_tests.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/test_machinery.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  copying test/test_utils/test_runner.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests
  copying test/run_tests__tests/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests
  copying test/run_tests__tests/run_tests__test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/no_assertions__ret_code_of_1__test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
  copying test/run_tests__tests/failures1/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
  copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
  copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
  copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
  copying test/run_tests__tests/incomplete/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
  copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
  copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
  copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
  copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
  copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
  copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
  copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
  copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
  copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
  copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
  copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
  copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
  copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
  copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
  copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
  copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
  copying test/run_tests__tests/exclude/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
  copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
  copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
  copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
  copying test/run_tests__tests/timeout/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
  copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
  copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
  copying test/run_tests__tests/everything/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
  copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
  copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
  copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
  copying test/run_tests__tests/everything/sleep_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/docs
  copying docs/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/docs
  copying docs/__main__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/docs
  creating build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/aacircle.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/aliens.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/arraydemo.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/blend_fill.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/blit_blends.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/camera.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/chimp.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/cursors.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/eventlist.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/fastevents.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/fonty.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/freetype_misc.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/glcube.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/headless_no_windows_needed.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/liquid.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/mask.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/midi.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/moveit.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/oldalien.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/overlay.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/pixelarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/playmus.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/prevent_display_stretching.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/scaletest.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/scrap_clipboard.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/scroll.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/sound.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/sound_array_demos.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/stars.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/testsprite.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  copying examples/vgrade.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
  running build_ext
  building 'pygame.imageext' extension
  creating build/temp.macosx-10.12-x86_64-3.7
  creating build/temp.macosx-10.12-x86_64-3.7/src
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/imageext.c -o build/temp.macosx-10.12-x86_64-3.7/src/imageext.o
  src/imageext.c:487:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
          if (num_lines_to_write > (cinfo.image_height - cinfo.next_scanline) -1) {
              ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1 warning generated.
  clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/imageext.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_image -lpng -ljpeg -o build/lib.macosx-10.12-x86_64-3.7/pygame/imageext.cpython-37m-darwin.so -Wl,-framework,Cocoa
  building 'pygame.font' extension
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/font.c -o build/temp.macosx-10.12-x86_64-3.7/src/font.o
  src/font.c:390:29: warning: comparison of integers of different signs: 'unsigned long' and 'Py_ssize_t' (aka 'long') [-Wsign-compare]
          if (strlen(astring) != Bytes_GET_SIZE(bytes)) {
              ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~
  src/font.c:417:29: warning: comparison of integers of different signs: 'unsigned long' and 'Py_ssize_t' (aka 'long') [-Wsign-compare]
          if (strlen(astring) != Bytes_GET_SIZE(text)) {
              ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~
  2 warnings generated.
  clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/font.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_ttf -o build/lib.macosx-10.12-x86_64-3.7/pygame/font.cpython-37m-darwin.so -Wl,-framework,Cocoa
  building 'pygame.mixer' extension
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/mixer.c -o build/temp.macosx-10.12-x86_64-3.7/src/mixer.o
  clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/mixer.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_mixer -o build/lib.macosx-10.12-x86_64-3.7/pygame/mixer.cpython-37m-darwin.so -Wl,-framework,Cocoa
  building 'pygame.mixer_music' extension
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/music.c -o build/temp.macosx-10.12-x86_64-3.7/src/music.o
  src/music.c:406:17: warning: explicitly assigning value of variable of type 'Mix_Music *' (aka 'struct _Mix_Music *') to itself [-Wself-assign]
      queue_music = queue_music;
      ~~~~~~~~~~~ ^ ~~~~~~~~~~~
  1 warning generated.
  clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/music.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_mixer -o build/lib.macosx-10.12-x86_64-3.7/pygame/mixer_music.cpython-37m-darwin.so -Wl,-framework,Cocoa
  building 'pygame.scrap' extension
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/scrap.c -o build/temp.macosx-10.12-x86_64-3.7/src/scrap.o
  src/scrap.c:43:22: warning: unused variable '_currentmode' [-Wunused-variable]
  static ScrapClipType _currentmode;
                       ^
  src/scrap.c:44:18: warning: unused variable '_selectiondata' [-Wunused-variable]
  static PyObject* _selectiondata;
                   ^
  src/scrap.c:45:18: warning: unused variable '_clipdata' [-Wunused-variable]
  static PyObject* _clipdata;
                   ^
  3 warnings generated.
  clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/scrap.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -o build/lib.macosx-10.12-x86_64-3.7/pygame/scrap.cpython-37m-darwin.so -Wl,-framework,Cocoa
  building 'pygame.pypm' extension
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include -I/System/Library/Frameworks/CoreMIDI.framework/Versions/Current/Headers -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/pypm.c -o build/temp.macosx-10.12-x86_64-3.7/src/pypm.o
  src/pypm.c:664:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:703:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:734:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:776:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:818:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:868:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:928:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:963:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:1006:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:1050:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
    __pyx_self = __pyx_self;
    ~~~~~~~~~~ ^ ~~~~~~~~~~
  src/pypm.c:1307:7: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L9;
        ^~~~~~~~~~~~~
  src/pypm.c:1439:7: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L7;
        ^~~~~~~~~~~~~
  src/pypm.c:1533:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L6;
      ^~~~~~~~~~~~~
  src/pypm.c:1501:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:1631:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L6;
      ^~~~~~~~~~~~~
  src/pypm.c:1588:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:1738:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L6;
      ^~~~~~~~~~~~~
  src/pypm.c:1695:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:2186:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L14;
      ^~~~~~~~~~~~~~
  src/pypm.c:2003:9: warning: code will never be executed [-Wunreachable-code]
          goto __pyx_L9;
          ^~~~~~~~~~~~~
  src/pypm.c:1948:9: warning: code will never be executed [-Wunreachable-code]
          goto __pyx_L8;
          ^~~~~~~~~~~~~
  src/pypm.c:1841:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:2418:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L7;
      ^~~~~~~~~~~~~
  src/pypm.c:2632:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L7;
      ^~~~~~~~~~~~~
  src/pypm.c:2798:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L6;
      ^~~~~~~~~~~~~
  src/pypm.c:2925:7: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L7;
        ^~~~~~~~~~~~~
  src/pypm.c:2986:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:3094:7: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L7;
        ^~~~~~~~~~~~~
  src/pypm.c:3041:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:3251:7: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L8;
        ^~~~~~~~~~~~~
  src/pypm.c:3197:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:3342:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:3430:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:3614:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L7;
      ^~~~~~~~~~~~~
  src/pypm.c:3570:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L6;
      ^~~~~~~~~~~~~
  src/pypm.c:3537:5: warning: code will never be executed [-Wunreachable-code]
      goto __pyx_L5;
      ^~~~~~~~~~~~~
  src/pypm.c:4976:18: error: no member named 'exc_type' in 'struct _ts'
      if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
           ~~~~~~  ^
  src/pypm.c:4976:47: error: no member named 'exc_type' in 'struct _ts'
      if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
                                        ~~~~~~  ^
  src/pypm.c:4977:28: error: no member named 'exc_type' in 'struct _ts'
          tmp_type = tstate->exc_type;
                     ~~~~~~  ^
  src/pypm.c:4978:29: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
          tmp_value = tstate->exc_value;
                              ^~~~~~~~~
                              curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  src/pypm.c:4979:26: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
          tmp_tb = tstate->exc_traceback;
                           ^~~~~~~~~~~~~
                           curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  src/pypm.c:4982:17: error: no member named 'exc_type' in 'struct _ts'
          tstate->exc_type = 0;
          ~~~~~~  ^
  src/pypm.c:4983:17: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
          tstate->exc_value = 0;
                  ^~~~~~~~~
                  curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  src/pypm.c:4984:17: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
          tstate->exc_traceback = 0;
                  ^~~~~~~~~~~~~
                  curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  36 warnings and 8 errors generated.
  error: command 'clang' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pygame
  Running setup.py clean for pygame
Failed to build pygame
Installing collected packages: pygame
    Running setup.py install for pygame ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/setup.py'"'"'; __file__='"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-record-lbwemzz8/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/
    Complete output (387 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.12-x86_64-3.7
    creating build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/_camera_opencv_highgui.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/_camera_vidcapture.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/_dummybackend.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/_numpysndarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/_numpysurfarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/camera.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/colordict.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/compat.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/cursors.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/freetype.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/ftfont.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/locals.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/macosx.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/midi.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/pkgdata.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/sndarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/sprite.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/surfarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/sysfont.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    copying lib/version.py -> build/lib.macosx-10.12-x86_64-3.7/pygame
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
    copying lib/gp2x/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
    copying lib/gp2x/constants.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
    copying lib/gp2x/locals.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/gp2x
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/threads
    copying lib/threads/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/threads
    copying lib/threads/Py25Queue.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/threads
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/__main__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/base_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/blit_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/bufferproxy_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/camera_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/cdrom_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/cdrom_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/color_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/compat_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/cursors_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/display_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/draw_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/event_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/fastevent_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/font_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/font_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/freetype_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/freetype_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/ftfont_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/ftfont_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/gfxdraw_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/image__save_gl_surface_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/image_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/image_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/imageext_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/imageext_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/joystick_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/key_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/mask_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/math_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/midi_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/midi_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/mixer_music_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/mixer_music_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/mixer_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/mixer_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/mouse_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/overlay_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/pixelarray_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/pixelcopy_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/rect_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/rwobject_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/scrap_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/scrap_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/sndarray_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/sndarray_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/sprite_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/surface_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/surfarray_tags.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/surfarray_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/surflock_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/sysfont_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/test_test_.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/threads_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/time_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    copying test/transform_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/arrinter.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/async_sub.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/buftools.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/endian.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/png.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/run_tests.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/test_machinery.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    copying test/test_utils/test_runner.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/test_utils
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests
    copying test/run_tests__tests/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests
    copying test/run_tests__tests/run_tests__test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/no_assertions__ret_code_of_1__test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/all_ok
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
    copying test/run_tests__tests/failures1/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
    copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
    copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
    copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/failures1
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
    copying test/run_tests__tests/incomplete/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
    copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
    copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
    copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
    copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
    copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/infinite_loop
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
    copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
    copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
    copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
    copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stderr
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
    copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
    copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
    copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
    copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/print_stdout
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
    copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
    copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
    copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/incomplete_todo
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
    copying test/run_tests__tests/exclude/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
    copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
    copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
    copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/exclude
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
    copying test/run_tests__tests/timeout/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
    copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
    copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/timeout
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
    copying test/run_tests__tests/everything/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
    copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
    copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
    copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
    copying test/run_tests__tests/everything/sleep_test.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/tests/run_tests__tests/everything
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/docs
    copying docs/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/docs
    copying docs/__main__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/docs
    creating build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/__init__.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/aacircle.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/aliens.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/arraydemo.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/blend_fill.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/blit_blends.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/camera.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/chimp.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/cursors.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/eventlist.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/fastevents.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/fonty.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/freetype_misc.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/glcube.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/headless_no_windows_needed.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/liquid.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/mask.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/midi.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/moveit.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/oldalien.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/overlay.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/pixelarray.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/playmus.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/prevent_display_stretching.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/scaletest.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/scrap_clipboard.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/scroll.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/sound.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/sound_array_demos.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/stars.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/testsprite.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    copying examples/vgrade.py -> build/lib.macosx-10.12-x86_64-3.7/pygame/examples
    running build_ext
    building 'pygame.imageext' extension
    creating build/temp.macosx-10.12-x86_64-3.7
    creating build/temp.macosx-10.12-x86_64-3.7/src
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/imageext.c -o build/temp.macosx-10.12-x86_64-3.7/src/imageext.o
    src/imageext.c:487:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
            if (num_lines_to_write > (cinfo.image_height - cinfo.next_scanline) -1) {
                ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 warning generated.
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/imageext.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_image -lpng -ljpeg -o build/lib.macosx-10.12-x86_64-3.7/pygame/imageext.cpython-37m-darwin.so -Wl,-framework,Cocoa
    building 'pygame.font' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/font.c -o build/temp.macosx-10.12-x86_64-3.7/src/font.o
    src/font.c:390:29: warning: comparison of integers of different signs: 'unsigned long' and 'Py_ssize_t' (aka 'long') [-Wsign-compare]
            if (strlen(astring) != Bytes_GET_SIZE(bytes)) {
                ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~
    src/font.c:417:29: warning: comparison of integers of different signs: 'unsigned long' and 'Py_ssize_t' (aka 'long') [-Wsign-compare]
            if (strlen(astring) != Bytes_GET_SIZE(text)) {
                ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~
    2 warnings generated.
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/font.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_ttf -o build/lib.macosx-10.12-x86_64-3.7/pygame/font.cpython-37m-darwin.so -Wl,-framework,Cocoa
    building 'pygame.mixer' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/mixer.c -o build/temp.macosx-10.12-x86_64-3.7/src/mixer.o
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/mixer.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_mixer -o build/lib.macosx-10.12-x86_64-3.7/pygame/mixer.cpython-37m-darwin.so -Wl,-framework,Cocoa
    building 'pygame.mixer_music' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/music.c -o build/temp.macosx-10.12-x86_64-3.7/src/music.o
    src/music.c:406:17: warning: explicitly assigning value of variable of type 'Mix_Music *' (aka 'struct _Mix_Music *') to itself [-Wself-assign]
        queue_music = queue_music;
        ~~~~~~~~~~~ ^ ~~~~~~~~~~~
    1 warning generated.
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/music.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -lSDL_mixer -o build/lib.macosx-10.12-x86_64-3.7/pygame/mixer_music.cpython-37m-darwin.so -Wl,-framework,Cocoa
    building 'pygame.scrap' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/scrap.c -o build/temp.macosx-10.12-x86_64-3.7/src/scrap.o
    src/scrap.c:43:22: warning: unused variable '_currentmode' [-Wunused-variable]
    static ScrapClipType _currentmode;
                         ^
    src/scrap.c:44:18: warning: unused variable '_selectiondata' [-Wunused-variable]
    static PyObject* _selectiondata;
                     ^
    src/scrap.c:45:18: warning: unused variable '_clipdata' [-Wunused-variable]
    static PyObject* _clipdata;
                     ^
    3 warnings generated.
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.7/src/scrap.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -lSDLmain -lSDL -o build/lib.macosx-10.12-x86_64-3.7/pygame/scrap.cpython-37m-darwin.so -Wl,-framework,Cocoa
    building 'pygame.pypm' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Ddarwin -D_THREAD_SAFE -DENABLE_NEWBUF=1 -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include -I/System/Library/Frameworks/CoreMIDI.framework/Versions/Current/Headers -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/pypm.c -o build/temp.macosx-10.12-x86_64-3.7/src/pypm.o
    src/pypm.c:664:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:703:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:734:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:776:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:818:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:868:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:928:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:963:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:1006:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:1050:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
      __pyx_self = __pyx_self;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
    src/pypm.c:1307:7: warning: code will never be executed [-Wunreachable-code]
          goto __pyx_L9;
          ^~~~~~~~~~~~~
    src/pypm.c:1439:7: warning: code will never be executed [-Wunreachable-code]
          goto __pyx_L7;
          ^~~~~~~~~~~~~
    src/pypm.c:1533:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L6;
        ^~~~~~~~~~~~~
    src/pypm.c:1501:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:1631:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L6;
        ^~~~~~~~~~~~~
    src/pypm.c:1588:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:1738:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L6;
        ^~~~~~~~~~~~~
    src/pypm.c:1695:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:2186:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L14;
        ^~~~~~~~~~~~~~
    src/pypm.c:2003:9: warning: code will never be executed [-Wunreachable-code]
            goto __pyx_L9;
            ^~~~~~~~~~~~~
    src/pypm.c:1948:9: warning: code will never be executed [-Wunreachable-code]
            goto __pyx_L8;
            ^~~~~~~~~~~~~
    src/pypm.c:1841:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:2418:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L7;
        ^~~~~~~~~~~~~
    src/pypm.c:2632:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L7;
        ^~~~~~~~~~~~~
    src/pypm.c:2798:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L6;
        ^~~~~~~~~~~~~
    src/pypm.c:2925:7: warning: code will never be executed [-Wunreachable-code]
          goto __pyx_L7;
          ^~~~~~~~~~~~~
    src/pypm.c:2986:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:3094:7: warning: code will never be executed [-Wunreachable-code]
          goto __pyx_L7;
          ^~~~~~~~~~~~~
    src/pypm.c:3041:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:3251:7: warning: code will never be executed [-Wunreachable-code]
          goto __pyx_L8;
          ^~~~~~~~~~~~~
    src/pypm.c:3197:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:3342:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:3430:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:3614:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L7;
        ^~~~~~~~~~~~~
    src/pypm.c:3570:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L6;
        ^~~~~~~~~~~~~
    src/pypm.c:3537:5: warning: code will never be executed [-Wunreachable-code]
        goto __pyx_L5;
        ^~~~~~~~~~~~~
    src/pypm.c:4976:18: error: no member named 'exc_type' in 'struct _ts'
        if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
             ~~~~~~  ^
    src/pypm.c:4976:47: error: no member named 'exc_type' in 'struct _ts'
        if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
                                          ~~~~~~  ^
    src/pypm.c:4977:28: error: no member named 'exc_type' in 'struct _ts'
            tmp_type = tstate->exc_type;
                       ~~~~~~  ^
    src/pypm.c:4978:29: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
            tmp_value = tstate->exc_value;
                                ^~~~~~~~~
                                curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    src/pypm.c:4979:26: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
            tmp_tb = tstate->exc_traceback;
                             ^~~~~~~~~~~~~
                             curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    src/pypm.c:4982:17: error: no member named 'exc_type' in 'struct _ts'
            tstate->exc_type = 0;
            ~~~~~~  ^
    src/pypm.c:4983:17: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
            tstate->exc_value = 0;
                    ^~~~~~~~~
                    curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    src/pypm.c:4984:17: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
            tstate->exc_traceback = 0;
                    ^~~~~~~~~~~~~
                    curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    36 warnings and 8 errors generated.
    error: command 'clang' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/setup.py'"'"'; __file__='"'"'/private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-req-build-ud08javs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/h6/xt_ztxvx6wdbclf7wg5zdcj40000gn/T/pip-record-lbwemzz8/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
steven-murray commented 4 years ago

Eeek, didn't realise pygame also doesn't like mac. Have you tried using a conda environment?

dannyjacobs commented 4 years ago

Yeah this is in a vanilla py3 conda env. No conda package for py game that I could find with a quick google, and those install instructions use conda for some things, but seemed to need a lot of c level packages installed with homebrew.

On Tue, Jan 7, 2020 at 7:32 AM Steven Murray notifications@github.com wrote:

Eeek, didn't realise pygame also doesn't like mac. Have you tried using a conda environment?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/loco-lab/hera-display-games/issues/24?email_source=notifications&email_token=AAAPNV7ESCCQNFDKHT2ZLDTQ4SHBPA5CNFSM4KDNZWXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIJBR4A#issuecomment-571611376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPNV3NUY7ODX2OWSNVIV3Q4SHBPANCNFSM4KDNZWXA .

-- Sent from Gmail Mobile