[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, this is now pushed to 2.7 as well. Thank you Jeroen! -- ___ Python tracker ___ ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 40a101df8c64a1e55cca2780248d7a92bdcccd57 by Antoine Pitrou (Miss Islington (bot)) in branch '2.7': bpo-25592: Improve documentation of distutils data_files (GH-9767) (GH-11734)

[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-02 Thread Antoine Pitrou
Change by Antoine Pitrou : -- stage: patch review -> resolved status: open -> closed versions: +Python 2.7 ___ Python tracker ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +11633, 11634, 11635 stage: resolved -> patch review ___ Python tracker ___ ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +11633, 11634 stage: resolved -> patch review ___ Python tracker ___ ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +11633 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-01 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: (note typo in the above: /tmp/prefix/pip should be /tmp/prefix/bin/pip) -- ___ Python tracker ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-02-01 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Could you still give it a quick check? I did just that. For reference, these are the steps: - Checkout the "2.7" branch of the cpython git repo - ./configure --prefix=/tmp/prefix --exec-prefix=/tmp/eprefix && make && make install - Install pip

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Jeroen you're right. Could you still give it a quick check? Then I'll mark the PR for a 2.7 backport. -- ___ Python tracker ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-31 Thread Antoine Pitrou
Change by Antoine Pitrou : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Fixing this on 2.7 would require additional investigation (distutils might > have diverged) Let's be honest, we are talking about distutils here. So it's way more likely that it didn't diverge and that the behavior is exactly the same on 2.7 and 3.8. So

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset ebae1ce9c40e62ce52dc968f86ed11578d2fcdfd by Antoine Pitrou (Miss Islington (bot)) in branch '3.7': bpo-25592: Improve documentation of distutils data_files (GH-9767) (GH-11701)

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixing this on 2.7 would require additional investigation (distutils might have diverged), so I'm closing now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the analysis and PR! Sorry that the slow process here was frustrating. -- ___ Python tracker ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +11551, 11552 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +11551, 11552, 11553 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +11551 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 598e15d4feaee3849a91d92c9ca51f17baafe19c by Antoine Pitrou (jdemeyer) in branch 'master': bpo-25592: Improve documentation of distutils data_files (GH-9767) https://github.com/python/cpython/commit/598e15d4feaee3849a91d92c9ca51f17baafe19c

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-29 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > it seems that Jeroen's analysis is right. So would you be willing to merge the PR then? -- ___ Python tracker ___

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Though it's difficult to say for certain (distutils' option selection logic is obscure and difficult to follow), it seems that Jeroen's analysis is right. -- nosy: +pitrou ___ Python tracker

[issue25592] distutils docs: data_files always uses sys.prefix

2019-01-28 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-10 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Did you try with a minimal project containing a C extension? > Did you install in a system where sys.prefix != sys.exec_prefix? Yes to both questions. -- ___ Python tracker

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: Did you try with a minimal project containing a C extension? Did you install in a system where sys.prefix != sys.exec_prefix? -- ___ Python tracker

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Well, I did try it on a minimal Python project. I also read the distutils sources and understood why it installs data_files in sys.prefix by default. So what more do you need to be convinced? -- ___ Python

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: > If the docs are wrong, their history doesn't matter that much What I was saying is that I am not sure that the docs are wrong. Distutils is more touchy that the rest of the stdlib and I err on the side of caution. --

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: There is also commit fa2f4b6d8e297eda09d8ee52dc4a3600b7d458e7 Author: Greg Ward Date: Sat Jun 24 17:22:39 2000 + Changed the default installation directory for data files (used by the "install_data" command to the installation base, which is

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Just for fun, let's look at the history. That piece of documentation goes back to commit 632bda3aa06879396561dde5ed3d93ee8fb8900c Author: Fred Drake Date: Fri Mar 8 22:02:06 2002 + Add more explanation of how data_files is used (esp. where the

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > If you’re not sure about the reason for that sentence, I think you should not > remove it from the docs If the docs are wrong, their history doesn't matter that much: the docs should be fixed regardless. > test the conditions (package with extension

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: If you’re not sure about the reason for that sentence, I think you should not remove it from the docs but investigate more (look at the history, test the conditions (package with extension module), etc). -- ___

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Change by Jeroen Demeyer : Removed file: https://bugs.python.org/file40993/data_files_doc.patch ___ Python tracker ___ ___ Python-bugs-list

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +9154 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25592] distutils docs: data_files always uses sys.prefix

2016-05-28 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Distutils nosy: +berker.peksag, dstufft, eric.araujo stage: -> patch review type: -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker

[issue25592] distutils docs: data_files always uses sys.prefix

2015-11-09 Thread Jeroen Demeyer
New submission from Jeroen Demeyer: The documentation for distutils claims that sys.exec_prefix is used in certain cases to install data_files, but this is simply not true (maybe it was true in the past or this sentence was copy/pasted from somewhere else?) -- assignee: docs@python