Wednesday, January 26, 2011

Trove categories for Buildout recipes and extensions

Currently there are 270+ distributions with "Framework :: Buildout" trove category in PyPI. Now it's becoming bit inconvenient to identify whether a distribution contains a Buildout recipe or extension.  ( Recipes and extensions are two types of plugin mechanisms supported by Buildout).  Now there is a solution -- two sub-categories are added

If you publish Buildout recipes or extensions to PyPI, please use the new trove classifiers in addition to the existing "Framework :: Buildout".

If you are developing a recipe, use this classifier:

classifiers=[
...
"Framework :: Buildout",
"Framework :: Buildout :: Recipe",
...
],
If you are developing an extension, use this classifier:

classifiers=[
...
"Framework :: Buildout",
"Framework :: Buildout :: Extension",
...
],
 
If the distribution contains both extension and recipe, use:
 
classifiers=[
...
"Framework :: Buildout",
"Framework :: Buildout :: Extension",
"Framework :: Buildout :: Recipe",
...
],

I hope recipe/extension authors will add these sub-categories to their setup.py in the upcoming releases.