-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
65 lines (62 loc) · 2.54 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright (C) 2018 Leiden University Medical Center
# This file is part of pytest-workflow
#
# pytest-workflow is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# pytest-workflow is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with pytest-workflow. If not, see <https://www.gnu.org/licenses/
from pathlib import Path
from setuptools import find_packages, setup
setup(
name="pytest-workflow",
version="2.2.0-dev",
description="A pytest plugin for configuring workflow/pipeline tests "
"using YAML files",
author="Leiden University Medical Center",
author_email="sasc@lumc.nl", # A placeholder for now
long_description=Path("README.rst").read_text(),
long_description_content_type="text/x-rst",
license="AGPL-3.0-or-later",
keywords="pytest workflow pipeline yaml yml wdl cromwell snakemake",
zip_safe=False,
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={
'pytest_workflow': ['schema/*.json']
},
url="https://github.com/LUMC/pytest-workflow",
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: "
"GNU Affero General Public License v3 or later (AGPLv3+)",
"Framework :: Pytest",
],
# Because we cannot test anymore on Python 3.8.
python_requires=">=3.8",
install_requires=[
"pytest>=7.0.0", # To use pathlib Path's in pytest
"pyyaml",
"jsonschema",
"xopen>=1.4.0",
"zstandard",
],
# This line makes sure the plugin is automatically loaded when it is
# installed in the same environment as pytest. No need to configure
# conftest.py to enable this plugin.
entry_points={"pytest11": ["pytest-workflow = pytest_workflow.plugin"]}
)