-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
pyproject.toml
64 lines (54 loc) · 1.26 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"ninja",
"cmake>=3.12",
]
build-backend = "setuptools.build_meta"
[project]
name = "aijack"
version = "0.0.1-beta.2"
authors = [
{ name="Hideaki Takahashi" },
]
description = "Security and Privacy Risk Simulator for Machine Learning"
readme = "README.md"
license = {file = "LICENSE"}
dependencies = [
'numpy',
'pandas',
'scikit-learn',
'torch >= 1.11.0',
'torchvision',
'opencv-python',
'pybind11',
'pybind11[global]',
'matplotlib',
'mpi4py',
'statsmodels'
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.isort]
profile = "black"
[tool.mypy]
files = "setup.py"
strict = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["ninja"]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
testpaths = ["tests"]
[tool.cibuildwheel]
test-command = "pytest {project}/tests"
test-extras = ["test"]
test-skip = ["*universal2:arm64"]
# Setuptools bug causes collision between pypy and cpython artifacts
before-build = "rm -rf {project}/build"