Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't install cythonize dependencies unless cythonizing #1405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sethk
Copy link

@sethk sethk commented Feb 2, 2025

Numpy is not building in my environment, but I should not need to have it if all I want to build is the default libvmaf target.

Additionally:

Instead of using the mtime of the .venv directory as a marker for whether meson and ninja were successfully installed, use their wrapper scripts from .venv/bin.

The $(VENV) target uses set -e and escaped newlines to run all commands in a single shell invocation. Unless these commands are modifying the shell's environment, this is redundant and mimics the way make already works when you put a single command on each line.

Numpy is not building in my environment, but I should not need to have
it if all I want to build is the default libvmaf target.

Additionally:

Instead of using the mtime of the .venv directory as a marker for
whether meson and ninja were successfully installed, use their wrapper
scripts from .venv/bin.

The $(VENV) target uses set -e and escaped newlines to run all commands
in a single shell invocation. Unless these commands are modifying the
shell's environment, this is redundant and mimics the way make already
works when you put a single command on each line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant