setup() and C extensions
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Apr 10 07:48:36 EDT 2007
En Tue, 10 Apr 2007 03:02:22 -0300, 7stud <bbxx789_05ss at yahoo.com>
escribió:
> I can't find any documentation on the setup() function in the
> distutils.core module; specifically I want to know what the 'name'
> argument does. In some examples in the python docs, they use the name
> argument like this:
http://docs.python.org/dist/module-distutils.core.html
> So it looks like the 'name' argument should be a package name.
Exactly.
> However, when I compile an extension module using that format, I can
> import the module using the syntax:
>
> import module1
>
> I don't have to use PackageName.module1.
"name" should be the full dotted name - but I've never tried it actually.
--
Gabriel Genellina
More information about the Python-list
mailing list