# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
- # entry_points={
- # 'console_scripts': [
- # 'sample=sample:main',
- # ],
- # },
+ #
+ # Setup an entry point to support PGWUI autoconfigure discovery.
+ entry_points={'pgwui.components': '.pgwui_logout = pgwui_logout'}
)
-# Copyright (C) 2018 The Meme Factory, Inc. http://www.meme.com/
+# Copyright (C) 2018, 2019 The Meme Factory, Inc. http://www.meme.com/
# This file is part of PGWUI_Logout.
#
pytest_plugins = ("pgwui",)
+# Module packaging test
+
+def test_pgwui_upload_is_pgwui_component(pgwui_component_entry_point):
+ '''Ensure that pgwui_upload is a pgwui.component entry point
+ '''
+ assert pgwui_component_entry_point('pgwui_logout') is True
+
+
# Functional tests
# includeme()