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

Use verbose flag for more Makefile targets #8

Closed
wants to merge 1 commit into from

Conversation

radarhere
Copy link

Suggestion for python-pillow#6713

@@ -17,7 +17,7 @@ coverage:

.PHONY: doc
doc:
python3 -c "import PIL" > /dev/null 2>&1 || python3 -m pip install .
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see that this one is important.

@@ -49,7 +49,7 @@ help:

.PHONY: inplace
inplace: clean
python3 -m pip install -e --global-option="build_ext" --global-option="--inplace" .
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of inplace anyway, I'd rather this option went away as it's broken when you have virtual envs or more than one python you're testing. It's safer to have things that always work than ones that sometimes work.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't use it either.


.PHONY: release-test
release-test:
python3 -m pip install -e .[tests]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a release time smoke test. It's up to the release managers to say if they want the verbose here.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never needed to pay attention in detail to the output of this. I don't need verbose, but don't oppose it if anyone wants it. (It might push something useful off the top of the logs buffer.)

@@ -67,14 +67,14 @@ debug:
# for our stuff, kills optimization, and redirects to dev null so we
# see any build failures.
make clean > /dev/null
CFLAGS='-g -O0' python3 -m pip install --global-option="build_ext" . > /dev/null
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure of the /dev/null bit here, but -v makes sense here.

@radarhere
Copy link
Author

Thanks for the comments. I've pushed just the 'debug' change.

@radarhere radarhere closed this Nov 4, 2022
@radarhere radarhere deleted the verbose_build branch November 4, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants