-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
143 lines (129 loc) · 3.43 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
[build-system]
requires = [
"setuptools>=64",
"setuptools-scm>=8",
"wheel",
"ninja",
"cmake>=3.12",
"zindex_py==0.0.4",
"pybind11"
]
build-backend = "setuptools.build_meta"
[project]
name = "pydftracer"
description = "I/O profiler for deep learning python apps. Specifically for dlio_benchmark."
readme = "README.md"
requires-python = '>=3.7'
authors = [
{ name = "Hariharan Devarajan (Hari)", email = "[email protected]" }
]
keywords = [
"profiler",
"deep learning",
"I/O",
"benchmark",
"NPZ",
"pytorch benchmark",
"tensorflow benchmark",
]
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Build Tools",
# Pick your license as you wish
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate you support Python 3. These classifiers are *not*
# checked by 'pip install'. See instead 'python_requires' below.
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
]
dynamic = ["version"]
dependencies = [
"pybind11",
"zindex_py==0.0.4",
"setuptools>=64",
"setuptools-scm>=8"
]
[project.urls]
Homepage = "https://github.com/LLNL/dftracer"
Repository = "https://github.com/LLNL/dftracer"
"Bug Tracker" = "https://github.com/LLNL/dftracer/issues"
Documentation = "https://dftracer.readthedocs.io/en/latest/"
[project.optional-dependencies]
test = ['pytest>=6.0']
dfanalyzer = [
'seaborn>=0.13.2',
'bokeh>=2.4.2',
'pybind11',
'pandas>=2.0.3',
'dask>=2023.5.0',
'distributed',
'numpy>=1.24.3',
'pyarrow>=12.0.1',
'rich>=13.6.0',
'python-intervals>=1.10.0.post1',
'matplotlib>=3.7.3'
]
[tool]
files = "setup.py"
python_version = "3.7"
strict = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
[[tool.overrides]]
module = ["ninja"]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error"]
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"
[tool.ruff]
extend-select = [
"B", # flake8-bugbear
"B904",
"I", # isort
"PGH", # pygrep-hooks
"RUF", # Ruff-specific
"UP", # pyupgrade
]
extend-ignore = [
"E501", # Line too long
]
target-version = "py38"
[tool.setuptools]
script-files = [
"script/dftracer_compact",
"script/dftracer_compact_by_pid",
"script/dftracer_merge",
"script/dftracer_sanitize",
"script/dftracer_anonymize",
"script/dftracer_split",
"script/dftracer_create_index",
"script/dftracer_event_count",
"script/dftracer_validate",
"script/dftracer_pgzip",
]
[tool.setuptools.package-dir]
dftracer = "dftracer"
dfanalyzer = "dfanalyzer"
[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "dftracer/_version.py"