forked from biotite-dev/biotite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
74 lines (66 loc) · 2.01 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
[project]
name = "biotite"
requires-python = ">=3.10"
description = "A comprehensive library for computational molecular biology"
readme = "README.rst"
authors = [{name = "The Biotite contributors"}]
license = {"file" = "LICENSE.rst"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
# Based on https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
# When updating our minimum supported python version follow minimums set in this setup.cfg
# as of 2022-01 for 3.7 "numpy >= 1.14.5", for 3.8 "numpy >= 1.17.3", for 3.9 "numpy >= 1.19.3"
# this should be manually updated as the minimum python version increases
dependencies = [
"requests >= 2.12",
"numpy >= 1.14.5, < 2.0",
"msgpack >= 0.5.6",
"networkx >= 2.0",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
]
[project.urls]
homepage = "https://www.biotite-python.org"
repository = "https://github.com/biotite-dev/biotite"
documentation = "https://www.biotite-python.org"
[tool.hatch.build.targets.sdist]
exclude = [
"tests",
"doc",
"environment.yml",
"setup_ccd.py",
# .github, .gitignore, .gitattributes
".git*",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/biotite/version.py"
[tool.hatch.build.targets.wheel.hooks.cython]
dependencies = ["hatch-cython"]
[tool.hatch.build.targets.wheel.hooks.cython.options]
include_numpy = true
compile_py = false
[build-system]
requires = [
"hatchling",
"hatch-vcs == 0.4",
"hatch-cython == 0.5",
"oldest-supported-numpy",
"cython >= 3.0",
]
build-backend = "hatchling.build"