Skip to content

Commit b46e5ac

Browse files
committed
Try something
1 parent a25882e commit b46e5ac

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/windows_wheel.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ jobs:
5151
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5252
pre-script: packaging/pre_build_script.sh
5353
post-script: packaging/post_build_script.sh
54-
# env-script: packaging/vc_env_helper.bat
54+
env-script: packaging/vc_env_helper.bat
5555
smoke-test-script: packaging/fake_smoke_test.py
5656
package-name: torchcodec
5757
trigger-event: ${{ github.event_name }}
5858
build-platform: "python-build-package"
59-
build-command: "set BUILD_AGAINST_ALL_FFMPEG_FROM_S3=1 && python -m build --wheel -vvv --no-isolation"
59+
# build-command: "BUILD_AGAINST_ALL_FFMPEG_FROM_S3=1 python -m build --wheel -vvv --no-isolation"
60+
build-command: "python -m build --wheel -vvv --no-isolation"
6061

6162
install-and-test:
6263
runs-on: ubuntu-latest

setup.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ def copy_extensions_to_source(self):
169169
build_against_all_ffmpeg_from_s3 = (
170170
os.getenv(BUILD_AGAINST_ALL_FFMPEG_FROM_S3_VAR) is not None
171171
)
172-
if "bdist_wheel" in sys.argv and not (
173-
build_against_all_ffmpeg_from_s3 or not_a_license_violation
174-
):
175-
raise ValueError(
176-
"It looks like you're trying to build a wheel. "
177-
f"You probably want to set {BUILD_AGAINST_ALL_FFMPEG_FROM_S3_VAR}. "
178-
f"If you have a good reason *not* to, then set {NOT_A_LICENSE_VIOLATION_VAR}."
179-
)
172+
# if "bdist_wheel" in sys.argv and not (
173+
# build_against_all_ffmpeg_from_s3 or not_a_license_violation
174+
# ):
175+
# raise ValueError(
176+
# "It looks like you're trying to build a wheel. "
177+
# f"You probably want to set {BUILD_AGAINST_ALL_FFMPEG_FROM_S3_VAR}. "
178+
# f"If you have a good reason *not* to, then set {NOT_A_LICENSE_VIOLATION_VAR}."
179+
# )
180180

181181
# See `CMakeBuild.build_extension()`.
182182
fake_extension = Extension(name="FAKE_NAME", sources=[])

0 commit comments

Comments
 (0)