File: build-wheels-osx.sh

package info (click to toggle)
aws-crt-python 0.28.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,428 kB
  • sloc: ansic: 437,955; python: 27,657; makefile: 5,855; sh: 4,289; ruby: 208; java: 82; perl: 73; cpp: 25; xml: 11
file content (18 lines) | stat: -rwxr-xr-x 915 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
#before running this, you'll need cmake3 and a compiler. These python versions are just
#using the default python installers from python.org. Each version needs updated: pip, build
set -ex

/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 ./continuous-delivery/update-version.py

/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m build
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 -m build
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m build
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m build

# Don't need to build wheels for Python 3.12, it works with the 3.11 stable ABI wheel

# We are using the Python 3.13 stable ABI from Python 3.13 onwards because of deprecated functions.
/Library/Frameworks/Python.framework/Versions/3.13/bin/python3 -m build

#now you just need to run twine (that's in a different script)