If you want to distribute your plugins, you just have to import the module
that registers the plugins into your `setup.py` file::
a special file called `PLUGINS` into the `.egg-info` directory created when
your package is installed.
+`extensions` also has `distutils2` support. The procedure is similiar to the
+one for `distutils`, just the name of the module has to be changed, i.e. the
+`setup.py` file will look like::
+ from distutils2.core import setup
+ from myapp import plugins # registers the plugins
+ setup(name='myapp', version='1.0'
+What is different, is where the `PLUGINS` file with all the entry points is
+located. In this case, it is placed in the `.dist-info` directory of the
+distribution which is created in accordance with :pep:`376`.
Compatibility with setuptools entry points