[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2020-11-30 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2020-11-16 Thread Irit Katriel
Irit Katriel added the comment: I think this was fixed in 11599. Any objections to closing this? -- nosy: +iritkatriel resolution: -> duplicate status: open -> pending superseder: -> Useless error message when distutils fails compiling ___ Python

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Lists are used because that’s what the UNIX exec call accepts, or the constructor of subprocess.Popen. About using %r in error messages, see also #11599. -- nosy: +eric.araujo ___ Python tracker

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4672 ___

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2009-01-26 Thread Andy Buckley
Andy Buckley a...@insectnation.org added the comment: Dumb question, but why is distutils wrapping the command args in quotes anyway? I'm not even sure why lists are being used (rather than a string) for the options, except that lists are a bit more Pythony and can be used to semantically divide

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2009-01-24 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Good suggestion, I'll add the quotes in the spawn call Which does a simple log.info(string.join(cmd, ' ')) at the moment -- assignee: - tarek nosy: +tarek versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2009-01-23 Thread William Fulton
William Fulton w...@fultondesigns.co.uk added the comment: This error can be replicated on the command line with suitable quoting of the -outdir option: swig -c++ -outdir . You need to pass the options correctly by separating them out, so use: swig_opts=['-c++', '-...@hepmcincpath@',

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2008-12-15 Thread Andy Buckley
New submission from Andy Buckley a...@insectnation.org: When using distutils to build an extension module using SWIG, it makes most sense to use the built-in SWIG support. However, the distutils seem to vet the options passed via the Extension.swig_opts attr/arg: [...]