[Distutils] The "dist" command
Fred L. Drake, Jr.
Fred L. Drake, Jr." <firstname.lastname@example.org
Mon, 27 Sep 1999 10:39:59 -0400 (EDT)
M.-A. Lemburg writes:
> Please also add 'exclude' to the list (presuming you mean patterns
> here and not single files).
That sounds good to me.
Regarding a distutils-generated metadata module, I asked:
> What would this contain and how would it be used?
And Marc-Andre replied:
> I guess all the information used as setup information for
> distutils. This would be useful for a rpm like tool that allows
> you to query the installed packages using this meta information.
Sounds like the package database. I'd rather see something like
pkgname = distutils.info.get_module_package(__name__)
pkginfo = distutils.info.get_package_info(pkgname)
print "This is %s, version %s." % (pkgname, pkginfo.version)
(or perhaps all queries return a package info object, and the name
should be retrieved from that).
Fred L. Drake, Jr. <email@example.com>
Corporation for National Research Initiatives