-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
92 lines (88 loc) · 2.81 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import os.path
import setuptools
# Get long description from README.
with open("README.rst", "r") as fh:
long_description = fh.read()
# Get package metadata from '__about__.py' file.
about = {}
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, "resolwe_bio", "__about__.py"), "r") as fh:
exec(fh.read(), about)
setuptools.setup(
name=about["__title__"],
use_scm_version=True,
description=about["__summary__"],
long_description=long_description,
long_description_content_type="text/x-rst",
author=about["__author__"],
author_email=about["__email__"],
url=about["__url__"],
license=about["__license__"],
# Exclude tests from built/installed package.
packages=setuptools.find_packages(
exclude=["tests", "tests.*", "*.tests", "*.tests.*"]
),
package_data={
"resolwe_bio": [
"descriptors/*.yml",
"fixtures/*.yaml",
"kb/migrations/*.sql",
"migrations/*.sql",
"processes/**/*.yml",
"processes/**/*.py",
"tools/*.py",
"tools/*.R",
"tools/*.sh",
]
},
python_requires=">=3.11, <3.13",
install_requires=(
"Django~=4.2",
"djangorestframework~=3.15.2",
"django-filter~=24.2",
"resolwe==42.*",
"wrapt~=1.16.0",
),
extras_require={
"docs": [
"daphne",
"Sphinx~=7.3.7",
"sphinx-rtd-theme==2.0.0",
"pyasn1>=0.6.0",
],
"package": ["twine", "wheel", "check-manifest", "setuptools_scm"],
"test": [
"build==1.2.1",
"black==24.4.2",
"check-manifest",
"colorama",
"django-stubs>=4.2.4",
"django-filter-stubs>=0.1.3",
"djangorestframework-stubs[compatible-mypy]>=3.15.0",
"daphne",
"flake8>=7.1.0",
"isort>=5.13.2",
"mypy>=1.10.0",
"pydocstyle~=6.3.0",
"setuptools_scm",
"six==1.16",
"tblib>=3.0.0",
"twine==5.1.1",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="bioinformatics resolwe bio pipelines dataflow django",
)