From: Karl O. Pinc Date: Fri, 4 Oct 2024 20:30:27 +0000 (-0500) Subject: Make testing dependencies static, since they are X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=039db064cd0e2278bb2a2ae1bd35a06021aef988;p=pgwui_develop Make testing dependencies static, since they are --- diff --git a/pyproject.toml b/pyproject.toml index 018e4d4..5123e30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,8 +14,7 @@ name = "pgwui_develop" # when backward incompatibility is introduced. Minor releases introduce # new features. Fix releases introduce fixes. dynamic = [ - "version", "readme", - "optional-dependencies" # dynamic because version numbers are injected + "version", "readme" ] description = 'Support for the regression tests of the PGWUI suite.' requires-python = ">=3.7" @@ -75,6 +74,14 @@ classifiers = [ 'Programming Language :: Python :: 3.11' ] +# Other dependencies +[project.optional-dependencies] +test = [ + 'pytest>=3.7.4', + 'pytest-cov', + 'deepdiff' +] + # [project.scripts] # script-name = 'module.path:function' diff --git a/setup.py b/setup.py index 9668751..ff57776 100644 --- a/setup.py +++ b/setup.py @@ -57,23 +57,9 @@ def filter_readme(): return "".join(lines) -# -# optional-dependencies -# - -extras_require = { - "test": [ - 'pytest>=3.7.4', - 'pytest-cov', - 'deepdiff', - ] -} - - if __name__ == '__main__': setuptools.setup( version=version, long_description=filter_readme(), - long_description_content_type='text/x-rst', - extras_require=extras_require + long_description_content_type='text/x-rst' )