macadmins / installapplications

A tool for dynamically using installapplication
Apache License 2.0
285 stars 62 forks source link

Update for M1 #100

Open andrewzirkel opened 2 years ago

andrewzirkel commented 2 years ago

These are the changes I had to make to run on M1. Feel free to take or leave any of them.

  1. In build_python_framework use 10.9 build of python to have an all intel build. Pyobjc did not have an M1 build that I could see.
  2. In generatejson.py another argument was added in an earlier commit.
  3. In py3_requirements.txt build all binaries, otherwise I got missing dependencies and a broken python.
bfreezy commented 2 years ago

My 2c on the python pieces:

andrewzirkel commented 2 years ago

I agree and did test that but get an error message when running build_python_framework errors at Running setup.py install for pyobjc-framework-AutomaticAssessmentConfiguration with: `file not found

import <AutomaticAssessmentConfiguration/AutomaticAssessmentConfiguration.h>`

I haven't looked into it more than that yet.

erikng commented 2 years ago

I probably should merge the changes I made on macadmins/python to the build script to make it work universally. But yes, 11.0 is not necessary at all.