Skip to content

Commit

Permalink
Fix test discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Apr 21, 2024
1 parent 4daee52 commit a38fe6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@
'orange3-network'
),

EXTRAS_REQUIRE = {
'doc': ['sphinx', 'recommonmark', 'sphinx_rtd_theme'],
'test': ['coverage'],
}

LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.pypi')).read()

ENTRY_POINTS = {
'orange3.addon': ('educational = orangecontrib.pumice', ),
'orange3.addon': ('pumice = orangecontrib.pumice', ),
"orange.widgets": ("Pumice = orangecontrib.pumice.widgets", ),
"orange.canvas.help": (
'html-index = orangecontrib.prototypes.widgets:WIDGET_HELP_PATH'),
Expand All @@ -20,6 +25,7 @@
setup(
name="Orange3-Pumice",
description="Educational widgets for project Pumice",
license="BSD",
version=VERSION,
author='Bioinformatics Laboratory, FRI UL',
author_email='[email protected]',
Expand All @@ -33,6 +39,7 @@
package_data={"orangecontrib.pumice.widgets": ["icons/*.svg"]},
entry_points=ENTRY_POINTS,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
namespace_packages=['orangecontrib'],
include_package_data=True,
test_suite="orangecontrib.prototypes.tests.suite"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ commands_pre =
# freeze environment
pip freeze
commands =
coverage run -m unittest discover -v --start-directory orangecontrib/educational
coverage run -m unittest discover -v --start-directory orangecontrib/pumice
coverage report

0 comments on commit a38fe6b

Please sign in to comment.