[Distutils] adding commands by just "import my.module"

Hartmut Goebel h.goebel at goebel-consult.de
Fri May 23 19:59:30 CEST 2008


I'm currentyl implementing a module to automatically submit releases to 
the Origo open software development platform <http://origo.ethz.ch>. So 
I'm looking for for adding the new command (origo_submit) to distutils 
as simple as possible. So I imaging, the user only does a

from import distutils.core import setup
import origo.submit

How to register my new command to distutils from origo.submit?

(This is already working using setuptools entry_points ={...}, but I'm 
looking for some easier way for the user.)

Schönen Gruß - Regards
Hartmut Goebel

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3195 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080523/db7339a6/attachment.bin>

More information about the Distutils-SIG mailing list