misc: declare as authentic plugin for autodiscovery
This commit is contained in:
parent
5798f02c7f
commit
5d9f35c326
5
setup.py
5
setup.py
|
@ -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,
|
||||
|
|
|
@ -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__]
|
||||
|
|
Loading…
Reference in New Issue