forked from sourmash-bio/sourmash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
213 lines (195 loc) · 6.59 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
[build-system]
requires = [
"maturin>=1,<1.5.0",
"cffi",
]
build-backend = 'maturin'
[project]
name = "sourmash"
description = "tools for comparing biological sequences with k-mer sketches"
readme = "README.md"
version = "4.8.6-dev"
authors = [
{ name="Luiz Irber", orcid="0000-0003-4371-9659" },
{ name="N. Tessa Pierce-Ward", orcid="0000-0002-2942-5331" },
{ name="Mohamed Abuelanin", orcid="0000-0002-3419-4785" },
{ name="Harriet Alexander", orcid="0000-0003-1308-8008" },
{ name="Abhishek Anant", orcid="0000-0002-5751-2010" },
{ name="Keya Barve", orcid="0000-0003-3241-2117" },
{ name="Colton Baumler", orcid="0000-0002-5926-7792" },
{ name="Olga Botvinnik", orcid="0000-0003-4412-7970" },
{ name="Phillip Brooks", orcid="0000-0003-3987-244X" },
{ name="Peter Cock", orcid="0000-0001-9513-9993" },
{ name="Daniel Dsouza", orcid="0000-0001-7843-8596" },
{ name="Jade Gardner", orcid="0009-0005-0787-5752" },
{ name="Laurent Gautier", orcid="0000-0003-0638-3391" },
{ name="Tim Head", orcid="0000-0003-0931-3698" },
{ name="Mahmudur Rahman Hera", orcid="0000-0002-5992-9012" },
{ name="Hannah Eve Houts", orcid="0000-0002-7954-4793" },
{ name="Lisa K. Johnson", orcid="0000-0002-3600-7218" },
{ name="Fabian Klötzl", orcid="0000-0002-6930-0592" },
{ name="David Koslicki", orcid="0000-0002-0640-954X" },
{ name="Katrin Leinweber", orcid="0000-0001-5135-5758" },
{ name="Marisa Lim", orcid="0000-0003-2097-8818" },
{ name="Ricky Lim", orcid="0000-0003-1313-7076" },
{ name="Ivan Ogasawara", orcid="0000-0001-5049-4289" },
{ name="Taylor Reiter", orcid="0000-0002-7388-421X" },
{ name="Camille Scott", orcid="0000-0001-8822-8779" },
{ name="Andreas Sjödin", orcid="0000-0001-5350-4219" },
{ name="Connor T. Skennerton", orcid="0000-0003-1320-4873" },
{ name="Jason Stajich", orcid="0000-0002-7591-0020" },
{ name="Daniel Standage", orcid="0000-0003-0342-8531" },
{ name="S. Joshua Swamidass", orcid="0000-0003-2191-0778" },
{ name="Connor Tiffany", orcid="0000-0001-8188-7720" },
{ name="Pranathi Vemuri", orcid="0000-0002-5748-9594"},
{ name="Erik Young", orcid="0000-0002-9195-9801" },
{ name="Nick H", orcid="0000-0002-1685-302X" },
{ name="C. Titus Brown", orcid="0000-0001-6001-2677" },
]
maintainers = [
{ name="Luiz Irber", email="[email protected]", orcid="0000-0003-4371-9659" },
{ name="C. Titus Brown", email="[email protected]", orcid="0000-0001-6001-2677" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: MacOS X",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Rust",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"screed>=1.1.2,<2",
"cffi>=1.14.0",
"numpy",
"matplotlib",
"scipy",
"deprecation>=2.0.6",
"cachetools>=4,<6",
"bitstring>=3.1.9,<5",
]
requires-python = ">=3.10"
[metadata]
license = { text = "BSD 3-Clause License" }
[project.urls]
"Homepage" = "https://sourmash.bio/"
"Documentation" = "https://sourmash.readthedocs.io"
"CI" = "https://github.com/sourmash-bio/sourmash/actions"
"Source" = "https://github.com/sourmash-bio/sourmash"
"Tracker" = "https://github.com/sourmash-bio/sourmash/issues"
[project.scripts]
"sourmash" = "sourmash.__main__:main"
[project.optional-dependencies]
test = [
"pytest>=6.2.4,<7.5.0",
"pytest-cov>=2.12,<5.0",
"pytest-xdist",
"pyyaml>=6,<7",
"recommonmark",
"hypothesis",
"build",
]
demo = [
"jupyter",
"jupyter_client",
"ipython",
]
doc = [
"sphinx>=4.4.0,<8",
"myst-parser==2.0.0",
"Jinja2==3.1.2",
"alabaster",
"sphinxcontrib-napoleon",
"nbsphinx",
"ipython",
"docutils>=0.17.1,<0.21",
]
storage = [
"ipfshttpclient>=0.4.13",
"redis",
]
# hmm, I think this is a hack, but it works...
# https://github.com/pypa/pip/issues/10393#issuecomment-941885429
all = ["sourmash[test,demo,doc,storage]"]
[tool.maturin]
python-source = "src"
manifest-path = "src/core/Cargo.toml"
bindings = "cffi"
include = [
{ path = "include/sourmash.h", format = ["sdist","wheel"] },
{ path = "requirements.txt", format = ["sdist"] },
{ path = "Cargo.*", format = ["sdist"] },
{ path = "tests/**/*", format = ["sdist"] },
{ path = "CITATION.cff", format = ["sdist", "wheel"] },
{ path = "LICENSE", format = ["sdist"] },
]
exclude = [
{ path = "**/__pycache__/*", format = ["sdist", "wheel"] },
]
features = ["maturin", "branchwater"]
locked = true
module-name = "sourmash._lowlevel"
# macOS deployment target SDK version
[tool.maturin.target.x86_64-apple-darwin]
macos-deployment-target = "10.14"
[tool.maturin.target.aarch64-apple-darwin]
macos-deployment-target = "11.0"
[tool.isort]
known_third_party = ["deprecation", "hypothesis", "mmh3", "numpy", "pytest", "screed", "sourmash_tst_utils"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
line_length = 88
known_first_party = ["sourmash"]
[tool.cibuildwheel]
build = "cp310-*"
skip = "*-win32 *-manylinux_i686 *-musllinux_* *-ppc64le *-s390x"
before-all = [
"curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable",
"cargo update --dry-run",
]
macos.before-build = [
"rustup target add aarch64-apple-darwin",
]
build-verbosity = 3
[tool.cibuildwheel.environment]
CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
PATH="$HOME/.cargo/bin:$PATH"
[tool.cibuildwheel.linux]
before-all = [
"curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable",
"cargo update --dry-run",
"if [ -f /etc/system-release ]; then yum -y install centos-release-scl; fi",
"if [ -f /etc/system-release ]; then yum -y install llvm-toolset-7.0; fi",
]
before-build = [
"if [ -f /etc/system-release ]; then source scl_source enable llvm-toolset-7.0; fi",
"if [ -f /etc/system-release ]; then source scl_source enable devtoolset-10; fi",
]
[tool.cibuildwheel.linux.environment]
CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
PATH="$HOME/.cargo/bin:$PATH"
LIBCLANG_PATH="/opt/rh/llvm-toolset-7.0/root/usr/lib64"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/rh/llvm-toolset-7.0/root/usr/lib64"
C_INCLUDE_PATH="/opt/rh/devtoolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/include:/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/include"
[tool.pytest.ini_options]
addopts = "--doctest-glob='doc/*.md' -n4"
norecursedirs = [
"utils",
"build",
"buildenv",
".tox",
".asv",
".eggs",
]
testpaths = [
"tests",
"doc",
]