[issue1222585] C++ compilation support for distutils

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: setuptools and other active build tools are the better target for this feature. -- assignee: eric.araujo -> resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue1222585] C++ compilation support for distutils

2020-06-18 Thread Ryan Schmidt
Ryan Schmidt added the comment: Christian, thanks for the pointer. I think you're right, I probably am actually wanting this to be fixed in setuptools, not distutils, since setuptools is what people are using today. Since setuptools is an offshoot of distutils, I had assumed that the develop

[issue1222585] C++ compilation support for distutils

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > What needs to happen to get this 15 year old bug fixed? It prevents C++ > Python modules from being compiled in situations where the user needs to > supply CXXFLAGS. Someone has to propose a PR, someone else to review it, and a core developer has to take

[issue1222585] C++ compilation support for distutils

2020-06-16 Thread Christian Heimes
Christian Heimes added the comment: Please report the issue with setuptools. distutils is no longer under development. We recommend that all users use setuptools. -- ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2020-06-16 Thread Ryan Schmidt
Ryan Schmidt added the comment: What needs to happen to get this 15 year old bug fixed? It prevents C++ Python modules from being compiled in situations where the user needs to supply CXXFLAGS. -- nosy: +ryandesign ___ Python tracker

[issue1222585] C++ compilation support for distutils

2019-04-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue1222585] C++ compilation support for distutils

2019-03-07 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I tried using compiler.compiler.remove('-Wstrict-prototypes') to no avail. The -Wstrict-prototypes issue is a separate bug. It is fixed in Python >= 3.6 and there is an open backport PR for 2.7: https://github.com/python/cpython/pull/7476 --

[issue1222585] C++ compilation support for distutils

2018-12-26 Thread marsam
Change by marsam : -- versions: +Python 3.7 -Python 3.5 Added file: https://bugs.python.org/file48016/python-3.x-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2018-07-03 Thread Dmitry Kalinkin
Change by Dmitry Kalinkin : Added file: https://bugs.python.org/file47669/python-3.8-distutils-C++.patch ___ Python tracker ___ ___ Python

[issue1222585] C++ compilation support for distutils

2018-05-15 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue1222585] C++ compilation support for distutils

2018-04-02 Thread Ben Elliston
Ben Elliston added the comment: Is there a simple workaround that one can put into setup.py in the meantime? I tried using compiler.compiler.remove('-Wstrict-prototypes') to no avail. -- nosy: +bje ___ Python tracker

[issue1222585] C++ compilation support for distutils

2017-08-01 Thread Josef Kemetmüller
Changes by Josef Kemetmüller : Removed file: http://bugs.python.org/file47045/GARBAGE ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1222585] C++ compilation support for distutils

2017-07-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue1222585] C++ compilation support for distutils

2017-07-28 Thread Josef Kemetmüller
Josef Kemetmüller added the comment: python-3.4-distutils-C++.patch with Erik Hvatum's suggestions applied. -- Added file: http://bugs.python.org/file47046/python-3.x-distutils-C++.patch ___ Python tracker __

[issue1222585] C++ compilation support for distutils

2017-07-28 Thread Josef Kemetmüller
Josef Kemetmüller added the comment: python-3.4-distutils-C++.patch with changes of Erik Hvatum applied. -- nosy: +Josef Kemetmüller Added file: http://bugs.python.org/file47045/python-3.x-distutils-C++.patch ___ Python tracker

[issue1222585] C++ compilation support for distutils

2016-07-09 Thread Christian H
Changes by Christian H : -- nosy: +Christian H ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue1222585] C++ compilation support for distutils

2016-05-26 Thread B. Clausius
Changes by B. Clausius : -- nosy: +barcc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue1222585] C++ compilation support for distutils

2016-05-17 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list m

[issue1222585] C++ compilation support for distutils

2015-05-06 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue1222585] C++ compilation support for distutils

2015-05-06 Thread Erik Hvatum
Erik Hvatum added the comment: The 2012-12-31 of this patch (currently the latest) has the surprising effect of causing distutils CFLAGS to be dropped. See for reference: https://bugs.gentoo.org/show_bug.cgi?id=548776 The issue I am experiencing is resolved by changing the section of the patc

[issue1222585] C++ compilation support for distutils

2014-03-12 Thread Éric Araujo
Éric Araujo added the comment: Now that distutils2 development is stopped and that distutils is no longer under a feature freeze, this is a reasonable thing to add to 3.5. Thanks for your efforts Arfrever, and sorry you had to port and maintain this to so many different versions. --

[issue1222585] C++ compilation support for distutils

2014-02-26 Thread Michael Crusoe
Changes by Michael Crusoe : -- nosy: +Michael.Crusoe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28511/python-3.4-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28510/python-3.3-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28509/python-3.2-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file32220/python-3.4-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file32218/python-2.7-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28508/python-2.7-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file32219/python-3.3-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2013-04-03 Thread Danek Duvall
Changes by Danek Duvall : -- nosy: +dhduvall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1222585] C++ compilation support for distutils

2013-03-14 Thread Jeroen Demeyer
Changes by Jeroen Demeyer : -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file28511/python-3.4-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file28510/python-3.3-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file28509/python-3.2-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- keywords: +patch Added file: http://bugs.python.org/file28508/python-2.7-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I attach updated patches for distutils in case somebody wants to use them. (I privately update them once per week.) -- ___ Python tracker __

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file16630/python-LDCXXSHARED.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2012-04-13 Thread Éric Araujo
Éric Araujo added the comment: I should be able to port the patch and add tests for detect_language, but I know very little about C++ and may not be able to write a full test that really compiles and checks a C++ program. We’re having a sprint on the 21, I’ll see if I can work with another p

[issue1222585] C++ compilation support for distutils

2012-04-13 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Ping, again. I'm sorry, I didn't write any of these patches and would not be a great fit for writing tests. -- ___ Python tracker ___ _

[issue1222585] C++ compilation support for distutils

2011-09-17 Thread Éric Araujo
Éric Araujo added the comment: Well, there’s no rush, Python 3.3b1 is not next week. I’m willing to apply the patch to packaging and distutils2 (in a week or two when I’ve finished a massive cleanup and caught up with packaging), but I’d like tests for detect_language, and if possible tests f

[issue1222585] C++ compilation support for distutils

2011-09-16 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Could this get some attention, please? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1222585] C++ compilation support for distutils

2011-06-14 Thread Éric Araujo
Changes by Éric Araujo : -- type: compile error -> feature request versions: +Python 3.3 -3rd party ___ Python tracker ___ ___ Pytho

[issue1222585] C++ compilation support for distutils

2010-10-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1222585] C++ compilation support for distutils

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2010-09-07 Thread Éric Araujo
Éric Araujo added the comment: Arfrever’s patch looks good. There is no tests for detect_language now; should the patch be blocked by that? (Note: Remember to use “hg import --user 'Arfrever Frehtes Taifersar Arahesis '” to give proper credit) --

[issue1222585] C++ compilation support for distutils

2010-09-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 2.5, Python 2.6, Python 3.1 -Python 3.3 ___ Python tracker ___ ___

[issue1222585] C++ compilation support for distutils

2010-04-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file16519/python-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2010-04-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: LDCXXSHARED added in r79652 and r79657. Now we can work on distutils2 side -- priority: high -> normal versions: +Python 3.3 ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2010-04-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think python-LDCXXSHARED.patch is fine. -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue1222585] C++ compilation support for distutils

2010-04-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file16742/distutils2-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2010-03-24 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Also you would have to pass --with-cxx-main= option to configure. -- ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2010-03-24 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Python can be compiled using C++ compiler. See http://docs.python.org/extending/extending.html#writing-extensions-in-c -- ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2010-03-23 Thread Roumen Petrov
Roumen Petrov added the comment: I could not found reasons python build to support C++ compiler as all source is C! Another case is distutils where is possible external module to use C++ code. -- nosy: +rpetrov ___ Python tracker

[issue1222585] C++ compilation support for distutils

2010-03-23 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: To have proper support for C++ linking in distutils2 at least in when used with Python 2.7, Makefile should set a variable, which will specify default C++ linker. I think that LDCXXSHARED can be used as a name for this new variable. I'm a

[issue1222585] C++ compilation support for distutils

2010-03-23 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1222585] C++ compilation support for distutils

2010-03-10 Thread Tarek Ziadé
Tarek Ziadé added the comment: If we consider that Distutils didn't provide c++ support, and that it partially worked by accident (through gcc), I would call it a new feature. Especially since it requires a new option. We are freezing the API so we can't add options to methods/functions. Th

[issue1222585] C++ compilation support for distutils

2010-03-10 Thread Michael Droettboom
Michael Droettboom added the comment: Does the reassignment only apply to the more recent more ambitious patch? The original patch (and my forward porting of it) is purely a bugfix, not a feature freeze. This is a showstopper bug for matplotlib on Solaris, for example, and I would hate to s

[issue1222585] C++ compilation support for distutils

2010-03-10 Thread Tarek Ziadé
Tarek Ziadé added the comment: Moved to distutils2 (distutils is feature frozen now) -- components: +Distutils2 -Distutils ___ Python tracker ___ _

[issue1222585] C++ compilation support for distutils

2010-03-10 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I'm attaching my own patch, which has the following advantages: - Determination of target language is performed per source file instead of per list of source files passed to CCompiler.compile(). - Proper determination of linker. - Proper su

[issue1222585] C++ compilation support for distutils

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1222585] C++ compilation support for distutils

2009-11-23 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1222585] C++ compilation support for distutils

2009-11-23 Thread Michael Droettboom
Michael Droettboom added the comment: Here's another patch against release25_maint for the benefit of those still using Python 2.5. It's different only in some whitespace changes. -- Added file: http://bugs.python.org/file15390/py25_cxx_compiler.patch _

[issue1222585] C++ compilation support for distutils

2009-11-23 Thread Michael Droettboom
Michael Droettboom added the comment: Attached is a patch against the release26-maint branch. This works for me on Sun Workshop 6. Note that on Sun, the C compiler is 'cc' and the C++ compiler is 'CC', but distutils uses 'cc' and 'c++'. However, the CXX environment variable now works (after a

[issue1222585] C++ compilation support for distutils

2009-11-23 Thread Michael Droettboom
Michael Droettboom added the comment: I'm testing this against release25_maint and release26_maint as we speak. I'll post new patches when that's done. -- ___ Python tracker

[issue1222585] C++ compilation support for distutils

2009-11-23 Thread Tarek Ziadé
Tarek Ziadé added the comment: Has someone tried to apply it with a recent Python ? I can work on it but I'll need some help from someone matplotlib or Sage I guess.. -- assignee: -> tarek ___ Python tracker _

[issue1222585] C++ compilation support for distutils

2009-11-23 Thread Michael Droettboom
Michael Droettboom added the comment: This is a rather serious bug for matplotlib -- since the C++ compiler is not correctly selected, it can't be built with many Unix compilers, such as Sun Studio. -- nosy: +mdboom ___ Python tracker

[issue1222585] C++ compilation support for distutils

2009-09-28 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1222585] C++ compilation support for distutils

2009-09-28 Thread David Kirkby
David Kirkby added the comment: Just to add, I'd much appreciate if this bug could be squashed. I see there is a patch, but it is against a 3-year old version, and is not a small patch. Hence I am reluctant to try to apply it myself. It is causing a problem in the Sage project, as I tried to c

[issue1222585] C++ compilation support for distutils

2009-02-09 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1222585] C++ compilation support for distutils

2008-01-05 Thread Christian Heimes
Christian Heimes added the comment: Isn't it already fixed? Need to check it at the upcoming bug day. -- nosy: +tiran versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> _ _