Commit c306c1c 1 parent 968c9fe commit c306c1c Copy full SHA for c306c1c
File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,15 @@ if [ "$OS" = "macos" ]; then
34
34
rm -rf $HELPER
35
35
mkdir -p $HELPER
36
36
37
- # Needed to build zxing-cpp properly
38
- export CMAKE_OSX_ARCHITECTURES=" arm64;x86_64"
39
-
40
37
# Export exact versions
41
38
poetry export --without-hashes > $HELPER /requirements.txt
42
39
grep cryptography $HELPER /requirements.txt > $HELPER /cryptography.txt
43
40
grep cffi $HELPER /requirements.txt > $HELPER /cffi.txt
44
41
grep pillow $HELPER /requirements.txt > $HELPER /pillow.txt
45
- grep zxing-cpp $HELPER /requirements.txt > $HELPER /zxing-cpp.txt
46
42
# Remove non-universal packages
47
- poetry run pip uninstall -y cryptography cffi pillow zxing-cpp
43
+ poetry run pip uninstall -y cryptography cffi pillow
48
44
# Build cffi from source to get universal build
49
45
poetry run pip install --upgrade -r $HELPER /cffi.txt --no-binary cffi
50
- # Build zxing-cpp from source to get universal build
51
- poetry run pip install --upgrade -r $HELPER /zxing-cpp.txt --no-binary zxing-cpp
52
46
# Explicitly install pre-build universal build of cryptography
53
47
poetry run pip download -r $HELPER /cryptography.txt --platform macosx_10_12_universal2 --only-binary :all: --no-deps --dest $HELPER
54
48
poetry run pip install -r $HELPER /cryptography.txt --no-cache-dir --no-index --find-links $HELPER
You can’t perform that action at this time.
0 commit comments