[Distutils] modules in sub-packages

Amit Sethi amit.pureenergy at gmail.com
Wed Apr 7 19:30:22 CEST 2010


I am trying to create  a module for the docutils . I wish to install
it docutils.writer.something
I have docutils installed at
/usr/local/lib/python2.6/dist-packages/docutils-0.6-py2.6.egg
on my ubuntu machine but when I tried to install it create a seperate
package called docutils and saves
the package in that ? How do I tell a package that this particular
package is a subpackage of a library
the setup.py of the package looks like :
 license='Public Domain',
 packages=['docutils.writers'],
 package_dir={'docutils.writers':'docbook'},
 scripts=['rst2docbook.py']

-- 
A-M-I-T S|S


More information about the Distutils-SIG mailing list