niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » python
Swig-friendly distutils.command.build_ext
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
George Sakkis
*nix forums Guru


Joined: 20 Feb 2005
Posts: 386

PostPosted: Sun Feb 06, 2005 1:24 am    Post subject: Swig-friendly distutils.command.build_ext Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 10:19 pm | All times are GMT
navigation Forum index » Programming » python
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Solaris dd command problem prak Solaris 0 Fri Jul 21, 2006 5:43 am
No new posts Solaris dd command problem prak Solaris 0 Fri Jul 21, 2006 5:43 am
No new posts Solaris dd command problem prak Solaris 4 Fri Jul 21, 2006 5:43 am
No new posts Why nohup & doesn't work? ankyhe@gmail.com Solaris 2 Wed Jul 19, 2006 12:13 pm
No new posts Bug#378859: ITP: pypar2 -- graphical frontend for the par... Piotr Ozarowski devel 1 Wed Jul 19, 2006 12:00 pm

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
[ Time: 0.1004s ][ Queries: 16 (0.0379s) ][ GZIP on - Debug on ]