misc: declare as authentic plugin for autodiscovery

This commit is contained in:
Frédéric Péters 2020-01-29 13:10:30 +01:00
parent 5798f02c7f
commit 5d9f35c326
2 changed files with 9 additions and 0 deletions

View File

@ -95,6 +95,11 @@ setup(
install_requires=[
'authentic2',
],
entry_points={
'authentic2.plugin': [
'authentic2-wallonie-connect = authentic2_wallonie_connect:Plugin',
],
},
cmdclass={
'build': build,
'install_lib': install_lib,

View File

@ -15,3 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
default_app_config = 'authentic2_wallonie_connect.apps.AppConfig'
class Plugin(object):
def get_apps(self):
return [__name__]