[issue38623] Python documentation should mention how to find site-packages

2021-10-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset cdfbe581bae1b33d4eb135597cd27b0f3782e97e by Pablo Galindo (Miss Islington (bot)) in branch '3.10': bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28536)

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d672dd34f0bc3addeaf1789d4183e3a37ab110d5 by Miss Islington (bot) in branch '3.9': bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28537) https://github.com/python/cpython/commit/d672dd34f0bc3addeaf1789d4183e3a37ab110d5

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Peter! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 87f97fe5e6434da51246d70af9e2cd7d63c29fba by Miss Islington (bot) in branch '3.10': bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28536) https://github.com/python/cpython/commit/87f97fe5e6434da51246d70af9e2cd7d63c29fba

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +26921 pull_request: https://github.com/python/cpython/pull/28536 ___ Python tracker ___

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 55b45bf707c6c8084db259fe2f8aa08e84ea0d99 by Peter Bittner in branch 'main': bpo-38623: Add note about site module (site-packages) (GH-16974) https://github.com/python/cpython/commit/55b45bf707c6c8084db259fe2f8aa08e84ea0d99 -- nosy:

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +26922 pull_request: https://github.com/python/cpython/pull/28537 ___ Python tracker ___

[issue38623] Python documentation should mention how to find site-packages

2020-01-08 Thread Brett Cannon
Brett Cannon added the comment: I think "Python learners deserve to know about "site-packages" and (optionally) "dist-packages" " is a bit strong of a statement. I don't think the tutorial covers how to install third-party package which is what goes into site-packages, so I don't know what

[issue38623] Python documentation should mention how to find site-packages

2020-01-07 Thread Inada Naoki
Inada Naoki added the comment: > The tutorial currently mentions its special role only briefly [7], saying: > >> * The installation-dependent default. > > We should explain that part. I'll give it a shot replacing my earlier > proposal. I don't think so. At there, the tutorial doesn't

[issue38623] Python documentation should mention how to find site-packages

2020-01-07 Thread Peter Bittner
Peter Bittner added the comment: Python learners deserve to know about "site-packages" and (optionally) "dist-packages". This is a "random note", it's an explanation that is missing in the tutorial. - Site-packages "is the target directory of manually built Python packages", does someone

[issue38623] Python documentation should mention how to find site-packages

2020-01-07 Thread Inada Naoki
Inada Naoki added the comment: It is tempting that putting some paragraphs to the tutorial when you think "this should be documented!" but there is no good place in the library reference. HOWTOs is the document for advanced topics. But it doesn't cover wide area yet. There is no topic

[issue38623] Python documentation should mention how to find site-packages

2020-01-07 Thread miss-islington
miss-islington added the comment: New changeset a6b37589a05c63abec122d3a00785641a3bcd85a by Miss Islington (bot) in branch '3.8': bpo-38623: Doc: Add section for site module CLI. (GH-17858) https://github.com/python/cpython/commit/a6b37589a05c63abec122d3a00785641a3bcd85a --

[issue38623] Python documentation should mention how to find site-packages

2020-01-07 Thread miss-islington
miss-islington added the comment: New changeset 72995c5cdd7ad4af6252bbe129e8fc63f5006130 by Miss Islington (bot) in branch '3.7': bpo-38623: Doc: Add section for site module CLI. (GH-17858) https://github.com/python/cpython/commit/72995c5cdd7ad4af6252bbe129e8fc63f5006130 -- nosy:

[issue38623] Python documentation should mention how to find site-packages

2020-01-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +17301 pull_request: https://github.com/python/cpython/pull/17891 ___ Python tracker ___

[issue38623] Python documentation should mention how to find site-packages

2020-01-06 Thread Inada Naoki
Inada Naoki added the comment: New changeset ca94677a6216e2d41b04574986ce49d31a0b329c by Inada Naoki in branch 'master': bpo-38623: Doc: Add section for site module CLI. (GH-17858) https://github.com/python/cpython/commit/ca94677a6216e2d41b04574986ce49d31a0b329c --

[issue38623] Python documentation should mention how to find site-packages

2020-01-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +17300 pull_request: https://github.com/python/cpython/pull/17890 ___ Python tracker ___

[issue38623] Python documentation should mention how to find site-packages

2020-01-06 Thread Brett Cannon
Brett Cannon added the comment: I agree with Inada-san that pointing out how to get the file path on a module is a better solution then explaining directory layouts which are borderline implementation details. -- ___ Python tracker

[issue38623] Python documentation should mention how to find site-packages

2020-01-06 Thread Inada Naoki
Inada Naoki added the comment: > There is a specific question this change attempts to answer: "Where is the > module I imported located in the file system?" So `print(the_module.__file__)` is better answer. (or `pip list -v` if the module is third party package installed via pip). `python

[issue38623] Python documentation should mention how to find site-packages

2020-01-06 Thread Peter Bittner
Peter Bittner added the comment: There is a specific question this change attempts to answer: "Where is the module I imported located in the file system?" I suspect this comes up a lot because developers want to inspect or mess with installed modules, add debug output and the like, to

[issue38623] Python documentation should mention how to find site-packages

2020-01-05 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +17278 pull_request: https://github.com/python/cpython/pull/17858 ___ Python tracker ___

[issue38623] Python documentation should mention how to find site-packages

2020-01-05 Thread Inada Naoki
Inada Naoki added the comment: There is a document about it in Doc/library/site.rst already. I'm not sure this should be documented in the tutorial. -- nosy: +inada.naoki ___ Python tracker

[issue38623] Python documentation should mention how to find site-packages

2020-01-05 Thread Vinay Keerthi
Vinay Keerthi added the comment: Just chiming in my opinion, the site-packages directory is also dependent on venv, correct? So would explaining where it is at a global install level be much use? Or do you mean explaining where site-packages is even for a venv? I could take this up, if

[issue38623] Python documentation should mention how to find site-packages

2020-01-05 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +brett.cannon versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue38623] Python documentation should mention how to find site-packages

2019-10-28 Thread Peter Bittner
Change by Peter Bittner : -- keywords: +patch pull_requests: +16500 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16974 ___ Python tracker ___

[issue38623] Python documentation should mention how to find site-packages

2019-10-28 Thread Peter Bittner
New submission from Peter Bittner : A popular question on StackOverflow is, "How do I find the location of my Python site-packages directory?" [1] While this may hint at a deeper problem that needs to be solved, a user suggested [2] the accepted answer to be added to Python's official