Skip to content

Commit

Permalink
Replace before-all by before-build
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Alonso committed Oct 24, 2023
1 parent f994e3f commit 9dac404
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions pyproject-tensorflow.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ skip = ["pp*", "*-musllinux*", "*i686"]

environment = { PROJECT_NAME="essentia-tensorflow", ESSENTIA_PROJECT_NAME="${PROJECT_NAME}", ESSENTIA_WHEEL_SKIP_3RDPARTY=1, ESSENTIA_WHEEL_ONLY_PYTHON=1 }

before-all = [
before-build = [
"PYBIN=/opt/python/cp36-cp36m/bin/",
"\"${PYBIN}/python\" waf configure --with-gaia --with-tensorflow --build-static --static-dependencies --pkg-config-path=\"${PKG_CONFIG_PATH}\"",
"\"${PYBIN}/python\" waf",
Expand All @@ -24,7 +24,7 @@ skip = ["pp*"]

environment = { PROJECT_NAME="essentia-tensorflow", ESSENTIA_PROJECT_NAME="${PROJECT_NAME}", ESSENTIA_WHEEL_SKIP_3RDPARTY=1, ESSENTIA_WHEEL_ONLY_PYTHON=1 }

before-all = [
before-build = [
"brew install pkg-config gcc readline sqlite gdbm freetype libpng",
"brew install eigen libyaml fftw ffmpeg@2.8 libsamplerate libtag chromaprint",
"brew install tensorflow",
Expand All @@ -40,9 +40,9 @@ test-command = "python -c 'import essentia; import essentia.standard; import ess


[[tool.cibuildwheel.overrides]]
select = "*arm64*"
select = "*macosx_arm64*"

before-all = [
before-build = [
"brew install pkg-config gcc readline sqlite gdbm freetype libpng",
"brew install eigen libyaml fftw ffmpeg@2.8 libsamplerate libtag chromaprint",
"brew install tensorflow",
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ skip = ["pp*", "*-musllinux*", "*i686"]

environment = { PROJECT_NAME="essentia", ESSENTIA_PROJECT_NAME="${PROJECT_NAME}", ESSENTIA_WHEEL_SKIP_3RDPARTY=1, ESSENTIA_WHEEL_ONLY_PYTHON=1 }

before-all = [
before-build = [
"PYBIN=/opt/python/cp36-cp36m/bin/",
"\"${PYBIN}/python\" waf configure --with-gaia --build-static --static-dependencies --pkg-config-path=\"${PKG_CONFIG_PATH}\"",
"\"${PYBIN}/python\" waf",
Expand All @@ -24,7 +24,7 @@ skip = ["pp*"]

environment = { PROJECT_NAME="essentia", ESSENTIA_PROJECT_NAME="${PROJECT_NAME}", ESSENTIA_WHEEL_SKIP_3RDPARTY=1, ESSENTIA_WHEEL_ONLY_PYTHON=1 }

before-all = [
before-build = [
"brew install pkg-config gcc readline sqlite gdbm freetype libpng",
"brew install eigen libyaml fftw ffmpeg@2.8 libsamplerate libtag chromaprint",
"brew link --force ffmpeg@2.8",
Expand All @@ -38,9 +38,9 @@ before-all = [
test-command = "python -c 'import essentia; import essentia.standard; import essentia.streaming; from essentia.standard import MonoLoader, MetadataReader, YamlInput, Chromaprinter'"

[[tool.cibuildwheel.overrides]]
select = "*arm64*"
select = "*macosx_arm64*"

before-all = [
before-build = [
"brew install pkg-config gcc readline sqlite gdbm freetype libpng",
"brew install eigen libyaml fftw ffmpeg@2.8 libsamplerate libtag chromaprint",
"brew link --force ffmpeg@2.8",
Expand Down

0 comments on commit 9dac404

Please sign in to comment.