[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Stefan Krah
Stefan Krah added the comment: ??ric Araujo wrote: > > To answer your question: Neither of the last two revisions builds > > in an out-of-source directory. > My question was more whether the last known good revision did :) That's what I meant. "last two revisions" was intended to refer to the

[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c77eadba9dc by Stefan Krah in branch '3.2': Issue #14152: Restore the Include/*.h dependencies for extension builds. http://hg.python.org/cpython/rev/1c77eadba9dc New changeset c85812b0e97d by Stefan Krah in branch 'default': Issue #14152: Merge f

[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Éric Araujo
Éric Araujo added the comment: > To answer your question: Neither of the last two revisions builds > in an out-of-source directory. My question was more whether the last known good revision did :) > Here's a patch. Tested with Python built in the top-level dir and in another dir, works in both

[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Stefan Krah
Changes by Stefan Krah : -- stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bu

[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Stefan Krah
Changes by Stefan Krah : Removed file: http://bugs.python.org/file24673/arraymodule_deps.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Stefan Krah
Stefan Krah added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file24676/issue14152.diff ___ Python tracker ___ __

[issue14152] setup.py: Python header file dependencies

2012-02-29 Thread Stefan Krah
Stefan Krah added the comment: Dependency support added: 1be93dd179df Last good version (all Include/*.h): 9705ef3fdb22 Current behavior (only pyconfig.h): fa69e891edf4 To answer your question: Neither of the last two revisions builds in an out-of-source directory. Raising the priority to h

[issue14152] setup.py: Python header file dependencies

2012-02-28 Thread Éric Araujo
Éric Araujo added the comment: I actually meant: when you build in any directory other that the top-level checkout directory. -- ___ Python tracker ___

[issue14152] setup.py: Python header file dependencies

2012-02-28 Thread Éric Araujo
Éric Araujo added the comment: Does the 2.6 code work when you build in a subdirectory? (I assume that’s why sysconfig is used instead of hard-coding, but I’ll check the VCS log when I have some time to be sure.) -- nosy: +eric.araujo ___ Python t

[issue14152] setup.py: Python header file dependencies

2012-02-28 Thread Stefan Krah
Stefan Krah added the comment: In Python2.6 all headers from Include/ were added: # Python header files headers = glob("Include/*.h") + ["pyconfig.h"] -- ___ Python tracker _

[issue14152] setup.py: Python header file dependencies

2012-02-28 Thread Stefan Krah
Stefan Krah added the comment: There is a comment in setup.py that suggests that *all* Python headers should be added to the dependencies (?): # Python header files headers = [sysconfig.get_config_h_filename()] headers += glob(os.path.join(sysconfig.get_path('platinclude'), "*.h")) Was