| 1 | #!/bin/bash |
| 2 | #before running this, you'll need cmake3 and a compiler. These python versions are just |
| 3 | #using the default python installers from python.org. Each version needs updated: pip, build |
| 4 | set -ex |
| 5 | |
| 6 | /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 ./continuous-delivery/update-version.py |
| 7 | |
| 8 | /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m build |
| 9 | /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 -m build |
| 10 | /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m build |
| 11 | /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m build |
| 12 | |
| 13 | # Don't need to build wheels for Python 3.12, it works with the 3.11 stable ABI wheel |
| 14 | |
| 15 | # We are using the Python 3.13 stable ABI from Python 3.13 onwards because of deprecated functions. |
| 16 | /Library/Frameworks/Python.framework/Versions/3.13/bin/python3 -m build |
| 17 | |
| 18 | # The free-threaded build does not currently support the Limited C API or the stable ABI. Built them separately |
| 19 | /Library/Frameworks/PythonT.framework/Versions/3.13/bin/python3.13t -m build |
| 20 | /Library/Frameworks/PythonT.framework/Versions/3.14/bin/python3.14t -m build |
| 21 | |
| 22 | #now you just need to run twine (that's in a different script) |