-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
121 lines (110 loc) · 3.69 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
##############################################################################
#
# Python bindings for XAD - poetry-based setup file
#
# This file is part of XAD's Python bindings, a comprehensive library for
# automatic differentiation.
#
# Copyright (C) 2010-2024 Xcelerit Computing Ltd.
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
[tool.poetry]
name = "xad"
version = "1.5.1.3"
description = "High-Performance Automatic Differentiation for Python"
authors = ["Auto Differentiation Dev Team <dev@auto-differentiation.com>"]
readme = "README.md"
homepage = "https://auto-differentiation.github.io"
repository = "https://github.com/auto-differentiation/xad-py"
documentation = "https://auto-differentiation.github.io/tutorials/python"
keywords = [
"automatic-differentiation",
"derivatives",
"machine-learning",
"optimisation",
"numerical-analysis",
"scientific-computing",
"risk-management",
"computer-graphics",
"robotics",
"biotechnology",
"meteorology",
"quant-finance"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"License :: Other/Proprietary License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Natural Language :: English",
"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 :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Software Development"
]
license = "AGPL-3.0-or-later"
include = ["xad/_xad.*", "xad/**/*.pyi"]
[tool.poetry.urls]
Download = "https://pypi.org/project/xad/#files"
Tracker = "https://github.com/auto-differentiation/xad-py/issues"
"Release notes" = "https://github.com/auto-differentiation/xad-py/releases"
[tool.poetry.build]
script = "build_extensions.py"
generate-setup-file = true
[tool.poetry.dependencies]
python= ">=3.8.1,<4.0"
[tool.poetry.group.dev.dependencies]
mypy = "*"
black = "*"
flake8 = "*"
pytest = "*"
pre-commit = "*"
ninja = "*"
cmake = "*"
pybind11-stubgen = "^2.5"
[build-system]
requires = [
"poetry-core>=1.0.0",
"ninja",
"cmake",
"setuptools>=42",
"pybind11-stubgen>=2.5"
]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311", "py312"]
[[tool.mypy.overrides]]
module = ["ninja"]
ignore_missing_imports = true
[tool.cibuildwheel]
test-command = "pytest {project}/tests"
test-requires = ["pytest"]
test-skip = ["*universal2:arm64"]
build-verbosity = 2