Swig actually was generating a bright.py file, but scons was leaving it in the source directory instead of putting it next to my SharedLibrary(). Once I moved the bright.py next to the _bright.so, it all worked with just import bright. Thanks everyone.
My next trick is to try the same thing with distutils, and see how it compares with SCons. -Jim On 6/20/05, Kent Johnson <[EMAIL PROTECTED]> wrote: > Terry Hancock wrote: > > Okay, you may want a more elegant way to do this and other people > > have already responded to that point, but you do at least know you > > can just give it a new name: > > > > import _bright > > bright = _bright > > or more idiomatically and without adding _bright to the namespace: > import _bright as bright > > Kent > -- > http://mail.python.org/mailman/listinfo/python-list > > -- http://mail.python.org/mailman/listinfo/python-list