43 Commits

Author SHA1 Message Date
Michael Cho
b95777870c
docs: remove some system Python notes
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-10 11:34:19 -04:00
Michael Cho
aaadbd9695
docs: update info on setuptools for Python 3.12
Also update info for `pip install --upgrade` given PEP 668
2024-02-23 09:32:46 -05:00
Eric Knibbe
220f56037c
docs: redirect from old BrewTestBot URLs
Also, sweep up remaining "Brew Test Bot" instances, and use brewtestbot.png for both BrewTestBot pages.
2024-02-15 14:50:24 -05:00
Michka Popoff
f520b7192b
docs: improve Python docs, add section about PEP 668
Remove comment about Python@2 that is now long gone
2024-02-15 13:34:12 +01:00
Michael Cho
f00c9277ae
docs: remove pip search recommendation
This is no longer supported and will just error with:
```
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search).
Please use https://pypi.org/search (via a browser) instead. See
https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods
for more information.
```
2023-12-12 12:21:35 -05:00
Nicholas (Nick) Meyer
5b80085837
Improve unversioned python location specification
brew --prefix python errors out when the python package is not
installed, so using that instead of brew --prefix prevents python
package installation issues from silently breaking, for example, shell
env scripts that add this to $PATH.

See https://github.com/orgs/Homebrew/discussions/3596#discussioncomment-5050569
2023-02-20 16:28:42 -08:00
EricFromCanada
d9ef454528
CI: add docs.yml
With fixes for Markdown syntax to allow tests to pass.
2022-11-26 10:28:12 -05:00
EricFromCanada
67f6f29675
docs: section 1 wording/formatting fixes 2022-10-20 09:35:42 -04:00
EricFromCanada
3855103617
docs: update wording for rest of Users section 2022-02-11 09:25:39 -05:00
EricFromCanada
77efcdf8fb
Add & remove line breaks 2021-12-02 22:58:31 -05:00
XuehaiPan
3f96d963f7 style: fix inconsistent code style for shell scripts 2021-09-15 14:59:01 +08:00
William Woodruff
f35c3a4e86
docs: simplify 2021-02-03 20:16:10 -05:00
William Woodruff
3dd94f993d
docs: add a note about the stability of python 3 formulae 2021-02-03 19:30:55 -05:00
Rylan Polster
111f9e5ca3 docs: update docs to reflect new Python procedures 2020-07-09 14:36:22 -04:00
miccal
3bb2c06a08 Update Homebrew-and-Python.md 2020-07-05 18:56:48 +08:00
Michka Popoff
c46a30b575 brew: remove most traces of python@2 2020-02-17 22:38:24 +01:00
Thierry Moisan
1063a6560e
Remove option mention in Homebrew-and-Python documentation 2020-01-25 10:30:01 -05:00
R Primus
1e57ca70d3
Replace American spelling with British spelling 2019-10-30 18:03:31 +00:00
EricFromCanada
31dbc4f985 Various documentation edits
Mostly edits to formatting, grammar, wording for consistency & readability.
2018-10-05 17:23:22 -04:00
Viktor Szakats
a0d971a0d0 secure/fix URLs 2018-10-03 21:21:05 +00:00
commitay
d1ca4f4328 docs/Homebrew-and-Python.md: python 3.y 2018-07-05 10:16:12 +10:00
Mike McQuaid
371dd7feec Homebrew-and-Python: update binary locations.
Updated to comply with PEP 394:
https://www.python.org/dev/peps/pep-0394/
2018-03-10 10:31:39 +00:00
lboogaard
7764798453
Update Homebrew-and-Python.md 2018-03-05 16:51:51 +01:00
lboogaard
e08695028c
Update Homebrew-and-Python.md 2018-03-05 16:47:17 +01:00
lboogaard
4f1a3ee8dc
Update Homebrew-and-Python to describe install
I believe the Homebrew-and-Python page could use a description on how to exactly install Python 2.X and 3.X with Homebrew. 

The syntax is written to my best knowledge (but likely wrong), please update this so that it is correct. Finding out the correct syntax is what actually motivated me to update this page in the first place. I'm hoping that this will clarify to the community (or at least me) on how to exactly install Python 2.X and 3.X with Homebrew.

Keep up the amazing work!
2018-03-05 13:31:13 +01:00
Mike McQuaid
70253f0009 Adjust docs and more internal code for Python 3.
Now we have `python` for Python 3 and `python@2` for Python 2 some more
adjustments need to be made.
2018-03-03 09:42:25 +00:00
Mike McQuaid
190e665bb1 Revert "docs: use short links."
This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.

Closes #3832.
2018-02-23 19:52:00 +00:00
Mike McQuaid
e63a2ee8de docs: use short links. 2018-02-22 19:25:44 +00:00
Mike McQuaid
f97512d7f1
Homebrew-and-Python: can't build from source to avoid Homebrew python. 2018-01-12 11:25:08 +00:00
EricFromCanada
762f2fd2d8 docs: remove :python requirement 2018-01-11 20:40:35 -05:00
Bartosz Kita
1bb8720e0d python2: Added missing pip sub-command in docs 2017-11-19 17:59:46 +01:00
Tim D. Smith
a34f1d3a53 Update Python docs
Reflect some of the wisdom learned over the last couple of years, which
contradict some of the earlier dicta.
2017-08-11 22:13:20 -07:00
cclauss
132d696d3b Reworded 2017-07-30 19:15:46 +02:00
cclauss
dd4609a3e3 Put the five executables in a list 2017-07-29 10:17:50 +02:00
Jonathan Chang
fceb788b98 docs: update for unshadowed system Python 2017-07-18 15:40:07 -07:00
EricFromCanada
dc7f74210a docs: code example reformatting
Add labeled fences to most code blocks, monospace terms where
appropriate, omit "$" when referring to variables
2017-03-25 22:53:33 -04:00
EricFromCanada
ab4d1a1574 docs: grammar edits, sentence-case secondary headings
Also changes some heading levels so only one primary
heading appears per page.
2017-03-19 14:03:39 -04:00
EricFromCanada
20bb0aae80 Fix broken or inactive URLs
Bare URLs are auto-linked on GitHub but not on docs.brew.sh, so I added
angle brackets around them where appropriate. Also converted
Markdown-linked URLs for clarity.
2017-02-23 12:09:01 -05:00
Jonathan Chang
9a6cd9b83f docs: fix titles on docs.brew.sh 2017-01-04 16:16:00 -06:00
Mike McQuaid
127e9def50 Cleanup documentation site
GitHub now nicely generates a documentation site for us at
http://brew.sh/brew based on our docs folder. Optimise the output of
this and the GitHub docs directory for readability and the various user
groupings.
2017-01-04 10:53:21 +00:00
Nar Kumar
b0bdee46d1 Only remove .pydistutils.cfg option, not command line 2016-11-07 12:33:28 +01:00
Nar Kumar Chhantyal
a1de500073 Do not recommend --prefix=<empty> hack, this breaks default pip command 2016-11-07 12:27:30 +01:00
Mike McQuaid
bd6fb88ddc Rearrange repository files. 2016-09-20 10:41:42 +01:00