I don’t think you can do that. Spider looks for the module name, not for contents of whatis. However, you can use “ml key numpy” for that.
On 04/07/17 09:53, "[email protected] on behalf of Ward Poelmans" <[email protected] on behalf of [email protected]> wrote: On 04-07-17 08:43, Alvarez, Damian wrote: > I think there is no reason to break backwards compatibility. But we still can make it better adding templates like %(pyver)s and allowing whatis to be defined using them. For instance: > > whatis = ["Homepage: %s" % homepage, "Description: %s" % description, “List of extensions: %(extension_list)s”] What would be really nice if that when people do `ml spider numpy`, they get the Python module (where numpy is in the extensions list). Ward ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------

