-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add a note about temporary directories to --build help text #4944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @1byxero! Thanks for this PR!
Just want a few minor grammar related changes. =)
(hopefully I don't come across as that annoying fellow who corrects your grammar) :P
src/pip/_internal/cmdoptions.py
Outdated
@@ -434,7 +434,10 @@ def only_binary(): | |||
'-b', '--build', '--build-dir', '--build-directory', | |||
dest='build_dir', | |||
metavar='dir', | |||
help='Directory to unpack packages into and build in.' | |||
help='Directory to unpack packages into and build in. ' | |||
'Initial build would still take place in direcotry set by TMPDIR ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- typo:
directory
src/pip/_internal/cmdoptions.py
Outdated
help='Directory to unpack packages into and build in.' | ||
help='Directory to unpack packages into and build in. ' | ||
'Initial build would still take place in direcotry set by TMPDIR ' | ||
'environment variable, (TEMP on windows) To change this behavior,' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- an extra comma here after
variable
To
is capitalised in the middle of the sentencewindows
should beWindows
- there is no space after the last comma
src/pip/_internal/cmdoptions.py
Outdated
help='Directory to unpack packages into and build in. ' | ||
'Initial build would still take place in direcotry set by TMPDIR ' | ||
'environment variable, (TEMP on windows) To change this behavior,' | ||
'set appropriate directory by setting TMPDIR environment variable' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Missing a trailing period
Actually, on second thought, could you rephrase this to read as:
Thanks! :) |
Sure. Will do all the changes you mentioned! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will merge if the CI approves.
=)
Linters don't approve. One of the lines is too long and the indentation should be such that the quote of the continuation matches that of the line before it. Could you make these changes as well @1byxero? =) |
src/pip/_internal/cmdoptions.py
Outdated
'Note that an initial build still takes place in a temporary directory. ' | ||
'The location of temporary directories can be controlled by setting ' | ||
help='Directory to unpack packages into and build in. Note that ' | ||
'an initial build still takes place in a temporary directory. The ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a space in this indentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes i have checked the CI logs and have updated the help text accordingly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ill monitor those things, and will fix the issues if any, will notify you with a mention when things will be looking fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! No hurries. :)
To run the linters locally, run tox -e lint-py3
Yes updating those things to match the pep8 standards |
@pradyunsg hey So this CI looks good to me except packaging which failed due to
I ran the |
I've restarted it. |
Looks like all checks have passed @pradyunsg |
Congratulations! 🎉
It'll be a part of pip 10, which is the next major release of pip. We don't really follow a release schedule but we're planning on doing one soon, once some work related to PEP 518 and all happens. |
@pypa/pip-committers Could one of you also take a look at this? I'll be happy to merge once there's another approval on this. :) |
@pradyunsg Amazing! |
Looks good to me - congratulations @1byxero and thanks for the contribution! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Added documentation on the usage of command line argument
--build
Closes #4262