![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archivePython C extenstion and __init__.py
From: <mwidj@yahoo.com>
Date: Tue Jun 28 2005 - 22:45:53 CEST
I'm building python extension for some solaris specific functions. My
setup.py:
from distutils.core import setup, Extension
sol_ex = Extension('sun.solaris',
setup (name = "solaris",
After doing the 'python setup.py build' successfuly, I setup a test
test.py:
After setting the PYTHONPATH to ./build/lib.solaris-2.9-sun4u-2.3 and
Traceback (most recent call last):
It turns out that in addition to solaris.so, I also need __init__.py
My question is how do I automate the creation (in setup.py) of
Thanks
|