[issue15298] _sysconfigdata is generated in srcdir, not builddir

2013-02-04 Thread Éric Araujo
Éric Araujo added the comment: Can this be closed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___ ___ Python-bugs-list mailing list

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2013-02-04 Thread Ned Deily
Ned Deily added the comment: On OS X, Trent's fixes solved the bootstrap issue and _sysconfigdata.py is now created in buildir. Closing. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-17 Thread Ned Deily
Ned Deily added the comment: There seems to be a bootstrap issue here. Building with ./configure --with-pydebug --prefix=... on OS X in a clean source directory (hg purge --all), 'make' makes it to building the static libpython .a but then dies on the sysconfig generate-posix-vars step: ar

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-17 Thread Trent Nelson
Trent Nelson added the comment: Ah, this is because of this OS X-specific snippet in sysconfig.get_platform(): elif osname[:6] == darwin: import _osx_support osname, release, machine = _osx_support.get_platform_osx(

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 66959d419369 by Trent Nelson in branch '3.3': Issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py. http://hg.python.org/cpython/rev/66959d419369 New changeset 429774e8d9f9 by Trent Nelson in branch 'default': Merge issue #15298: fix an

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-17 Thread devurandom
Changes by devurandom devuran...@gmx.net: -- nosy: +devurandom ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___ ___ Python-bugs-list

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-17 Thread Trent Nelson
Trent Nelson added the comment: That last commit fixes in-tree builds, but broke out-of-tree builds. I've refactored the patch (sysconfig.py.patch) to fix the issue, but it's getting progressively more hacky, so I wanted to see what other people think before proceeding. (That being said, it

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1250498db562 by Trent Nelson in branch '3.3': Issue #15298: refactor previous fix from 66959d419369. http://hg.python.org/cpython/rev/1250498db562 New changeset a0614e041bc8 by Trent Nelson in branch 'default': Merge issue #15298.

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 24d52d3060e8 by Trent Nelson in branch '3.3': Issue #15298: ensure _sysconfigdata is generated in build directory, http://hg.python.org/cpython/rev/24d52d3060e8 New changeset f85c3f4d9b98 by Trent Nelson in branch 'default': Merge issue #15298:

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-13 Thread Trent Nelson
Changes by Trent Nelson tr...@snakebite.org: -- nosy: +trent ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___ ___ Python-bugs-list mailing

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-13 Thread Trent Nelson
Trent Nelson added the comment: The previous 'alt_sysconfigdata.patch' didn't apply cleanly to 3.3/3.x. I've attached an updated patch that does. Any objections to applying this to 3.3 - 3.x now that the freeze is over? -- versions: +Python 3.4 Added file:

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-10-13 Thread Trent Nelson
Changes by Trent Nelson tr...@snakebite.org: Removed file: http://bugs.python.org/file27552/issue15298-alt_sysconfigdata2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-06 Thread Matthias Klose
Matthias Klose added the comment: looks fine. from my point of view this should go to the 3.3 branch after the 3.3.0 release, and to the trunk. -- keywords: -needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: If sysconfig._generate_posix_vars() creates the build directory and pybuilddir.txt (instead of setup.py) then it could write _sysconfigdata.py in the correct place. Then setup.py would not have to mess with its own sys.path. One issue with having

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: Alternative patch. -- Added file: http://bugs.python.org/file27122/alt_sysconfigdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Éric Araujo
Éric Araujo added the comment: I did not test the patch but it does not look bad. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___ ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Matthias Klose
Matthias Klose added the comment: looks ok, two issues are: builddir should have added +(-pydebug if hasattr(sys, gettotalrefcount) else ) the installation installs this to the lib-dynload directory, which maybe is not desired. -- ___ Python

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: builddir should have added +(-pydebug if hasattr(sys, gettotalrefcount) else ) Oops, yes. the installation installs this to the lib-dynload directory, which maybe is not desired. The lines + -rm $(DESTDIR)$(DESTSHARED)/_sysconfigdata.py +

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: Updated patch. -- Added file: http://bugs.python.org/file27125/alt_sysconfigdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Removed file: http://bugs.python.org/file27125/alt_sysconfigdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: Try again. -- Added file: http://bugs.python.org/file27126/alt_sysconfigdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Added file: http://bugs.python.org/file27127/alt_sysconfigdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Removed file: http://bugs.python.org/file27126/alt_sysconfigdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-05 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Removed file: http://bugs.python.org/file27122/alt_sysconfigdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-09-04 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/issue15298 ___

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-08-19 Thread Georg Brandl
Georg Brandl added the comment: It seems there is no urge to fix this before 3.3 -- fine with me. -- priority: deferred blocker - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The bug certainly is a valid annoyance, but I won't hold up beta2 for it. -- priority: release blocker - deferred blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-12 Thread Ned Deily
Ned Deily n...@acm.org added the comment: (Once this issue is resolved, a permanent fix for the minor OS X test case failure of Issue15188 can be developed and applied.) -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-12 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: while I appreciate the fix for #13150, it's the patch for #13150 which introduces the ugliness to build the file in the srcdir in the first place. re-setting the bug severity. the current behaviour can result in a bogus installation; please

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___ ___ Python-bugs-list

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-12 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: like other platform dependent files _sysconfigdata.py should be installed in plat-* -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: like other platform dependent files _sysconfigdata.py should be installed in plat-* What are you talking about? plat-* files are only OS-specific, while _sysconfigdata also depends on configure options and other stuff. --

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-10 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: proposed patch, tested with configure, build and install -- keywords: +needs review, patch Added file: http://bugs.python.org/file26345/sysconfigdata.diff ___ Python tracker rep...@bugs.python.org

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch is rather ugly, I think. You should arrange for sysconfigdata to be generated directly at the right place instead (not sure how, perhaps it should be done from setup.py). Also, there's no need for this to be a release blocker.

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-09 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: looks like the module can be put into $builddir/`cat pybuilddir.txt`. However pybuilddir.txt is written/computed by the just built python. So either - implement distutils.util.get_platform in configure.ac - or write a temporary

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-08 Thread Matthias Klose
New submission from Matthias Klose d...@debian.org: _sysconfigdata is generated in srcdir, not builddir, so if you do two consecutive differently builds in different builddirs and using the same srcdir, then the _sysconfigdata of the second build wins. _sysconfigdata.py has to be built in the

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, pitrou stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15298 ___