-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
154 lines (140 loc) · 4 KB
/
pyproject.toml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[build-system]
requires = ["setuptools>=67.4.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."] # list of folders that the contains the packages. We need it to be at root due to flat-layout
include = ["biothings_client*"] # package names should match these glob patterns
exclude = ["tests*"] # exclude packages matching these glob patterns
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[project]
name="biothings_client"
authors = [
{name = "Cyrus Afrasiabi"},
{name = "Xinghua Zhou"},
{name = "Everaldo Rodolpho", email="[email protected]"},
{name = "Johnathan Schaff", email = "[email protected]"},
{name = "Chunlei Wu", email = "[email protected]"},
]
requires-python = ">=3.6"
description = "Python Client for BioThings API services."
readme = "README.rst"
license = { text = "BSD-3-Clause" }
keywords = [
"biology",
"variant",
"gene",
"taxon",
"taxonomy",
"species",
"drug",
"chemical",
"disease",
"phenotype",
"geneset",
"annotation",
"web",
"service",
"client",
"api",
"mygene.info",
"myvariant.info",
"mychem.info",
"mydisease.info",
"mygeneset.info",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"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",
"Programming Language :: Python :: 3.13",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
# "httpx>=0.25.0; python_version>='3.8'",
# "httpx>=0.24.0; python_version=='3.7'",
"httpx>=0.22.0", # the last version supports python 3.6
"importlib-metadata; python_version<'3.8'",
]
version = "0.4.1"
[project.optional-dependencies]
caching = [
# caching is only available for Python 3.8 and above
"anysqlite; python_version>='3.8'",
"hishel[sqlite]; python_version >='3.8'",
]
dataframe = ["pandas>=1.1.5"] # the last version supports python 3.6
jsonld = ["PyLD>=0.7.2"]
tests = [
# "pytest>=8.3.3; python_version>='3.8'",
# "pytest>=7.4.4; python_version=='3.7'",
# "pytest-asyncio>=0.23.8; python_version>='3.8'",
# "pytest-asyncio>=0.21.2; python_version=='3.7'",
"pytest>=7.0.1", # the last version supports python 3.6
"pytest-asyncio>=0.16.0", # the last version supports python 3.6
]
[project.urls]
homepage = "https://github.com/biothings/biothings_client.py"
repository = "https://github.com/biothings/biothings_client.py"
documentation = "https://biothings-clientpy.readthedocs.io"
[tool.setuptools]
zip-safe = true
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 120
src_paths = ["."]
# pytest configuration
[tool.pytest.ini_options]
minversion = "6.2.5"
asyncio_mode = "auto"
pythonpath = ["."]
# Options
addopts = [
"-rA",
"-vv",
"--doctest-modules",
"--setup-show",
"--capture=no",
"--tb=line",
"--durations=0",
"--showlocals",
"--strict-markers",
"--color=yes",
"--code-highlight=yes"
]
# Path
norecursedirs = [
".svn",
".git",
"_build",
"tmp*",
"lib",
"lib64",
]
testpaths = ["tests"]
markers = [
"unit",
]
# Logging
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)] %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"