[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-19 Thread Kesara Rathnayake
Kesara Rathnayake added the comment: fix-6087.diff passes on OSX (Python 3.6) $ ./python.exe -m test test_distutils test_sysconfig -j3 Run tests in parallel using 3 child processes 0:00:01 [1/2] test_sysconfig passed 0:00:13 [2/2] test_distutils passed All 2 tests OK. Total duration: 14 sec

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-18 Thread Vinay Sajip
Vinay Sajip added the comment: Updated patch to cover tests, and changed the implementation slightly. Tests pass on Linux and Windows (I'm not able to build on OS X). The patch is against the default branch but the diff should apply equally well to 3.6. -- Added file:

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-13 Thread Vinay Sajip
Vinay Sajip added the comment: > Ok, so we need to figure out whether the tests are wrong, or the 'fix' is > wrong. The tests were never updated, so most likely they will need changing. I was waiting for feedback about my point about _CONFIG_VARS['srcdir'], but I never got any at the time

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-12 Thread Kesara Rathnayake
Kesara Rathnayake added the comment: Test output: [cpython.25567]$ ./python.exe -m test test_distutils test_sysconfig -j3 Run tests in parallel using 3 child processes 0:00:01 [1/2/1] test_sysconfig failed test test_sysconfig failed -- Traceback (most recent call last): File

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-12 Thread Robert Collins
Robert Collins added the comment: Ok, so we need to figure out whether the tests are wrong, or the 'fix' is wrong. -- ___ Python tracker ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-12 Thread Kesara Rathnayake
Kesara Rathnayake added the comment: These patches break both test_distutils & test_sysconfig tests. -- ___ Python tracker ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-12 Thread Kesara Rathnayake
Kesara Rathnayake added the comment: Updated patch based on vinay.sajip's patch. -- Added file: http://bugs.python.org/file44617/6087_sysconfig.diff ___ Python tracker

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-12 Thread Kesara Rathnayake
Kesara Rathnayake added the comment: Updated patch based on vinay.sajip's patch. -- Added file: http://bugs.python.org/file44616/6087_distutils_sysconfig.diff ___ Python tracker

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2016-09-12 Thread Kesara Rathnayake
Kesara Rathnayake added the comment: This issue still exists in Python 3.7. -- nosy: +kesara versions: +Python 3.7 ___ Python tracker ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2015-07-22 Thread Robert Collins
Robert Collins added the comment: Moving this back to patch review since I'm 90% sure that the patch won't apply anymore (if I had a little more time I'd pull it down and double check) - but I've hit this myself and would totally commit it if updated. -- nosy: +rbcollins stage: commit

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-11-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m not sure yet whether this is a bug or a new feature, but when python runs from an uninstalled build, I would like paths to refer to the source directory, not the default configure prefix. I need this fixed for packaging and it may

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-06-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See also #12141. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___ Python-bugs-list

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-04-01 Thread Carl Meyer
Changes by Carl Meyer c...@dirtcircle.com: -- nosy: +carljm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___ Python-bugs-list mailing

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-03-31 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Actually, the makefile location *is* wrong - ignore my last comment contradicting that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-03-31 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m not sure yet whether this is a bug or a new feature, but when python runs from an uninstalled build, I would like paths to refer to the source directory, not the default configure prefix. -- ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-03-28 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Attached is a simple script to show include and lib paths. The makefile location seems OK on my system. -- Added file: http://bugs.python.org/file21437/libdir.py ___ Python tracker

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: get_makefile_filename also fails when run from a checkout. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-03-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The patches look good, thank you. Do you have a command, script or test that would print the values, to make sure they’re right? -- assignee: tarek - eric.araujo keywords: +buildbot, needs review -easy, patch nosy: -alexis versions:

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-03-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +easy, patch -buildbot, needs review nosy: +alexis stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-02-13 Thread Alexis Metaireau
Changes by Alexis Metaireau ametair...@gmail.com: -- nosy: +alexis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___ Python-bugs-list

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___ Python-bugs-list

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-13 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Attached is a patch for distutils/sysconfig.py. -- keywords: +patch Added file: http://bugs.python.org/file18866/distutils_sysconfig.diff ___ Python tracker rep...@bugs.python.org

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-13 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Attached is a patch for sysconfig.py. -- Added file: http://bugs.python.org/file18867/sysconfig.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-13 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: N.B. without the sysconfig.py patch, sysconfig.get_path() fails, but differently. With the patch, sysconfig.get_path('stdlib') and sysconfig.get_path('include') give the expected values, but _CONFIG_VARS['srcdir'] still seems wrong:

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can you propose a patch? Also, can you say if the bug exists with the new sysconfig.get_path in 2.7 and 3.2? (I can’t test right now, I ./configure with a --prefix, which logically gets used in the paths). -- components: +Distutils2

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-08 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Just plain ./configure as far as I remember. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What ./configure line did you use? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-04-09 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: Yes, I agree with you, this may be a bug? Seemingly, the sysconfig.get_python_lib() should act just like the get_python_inc() function, return [prefix]/lib/python[version] in case of python_build flag is False, and [prefix]/Lib in case of

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-04-09 Thread Ray.Allen
Changes by Ray.Allen ysj@gmail.com: -- versions: +Python 2.7 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-04-09 Thread Ray.Allen
Changes by Ray.Allen ysj@gmail.com: -- versions: +Python 2.6, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-04-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___ Python-bugs-list mailing

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2009-05-22 Thread Vinay Sajip
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: When used with a build from source (i.e. non-installed) of Python, get_python_lib gives the result (on Linux) [prefix]/lib/python[version] Shouldn't this be [prefix]/Lib? Note that get_python_inc() returns Include. That's because it