|
|
|
|
|
|
| Author |
Message |
George Sakkis *nix forums Guru
Joined: 20 Feb 2005
Posts: 386
|
Posted: Sun Feb 06, 2005 1:24 am Post subject:
Swig-friendly distutils.command.build_ext
|
|
|
I'm using a custom extension of the build_ext distutils 'command' that integrates better with SWIG.
Specifically, it:
1. Adds '-I' (include) swig option for each directory containing a source file in the given
Extension.
2. Determines whether to add the '-c++" option by checking the source file extensions (even if the
'swig_cpp' and 'swig_opts' do not explicitly specify that it is a c++ wrapper).
3. Builds the swig-generated high-level python module (currently only the low level .dll/.so is
built).
If these changes are generally useful, I think they (c|sh)ould make it into the next release of
distutils.
George |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 10:19 pm | All times are GMT
|
|
Credit Cards | Best Credit Cards | Loans | Literatura fantastica | Agencia de viagens
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|