File: pyproject.toml

package info (click to toggle)
python-gsd 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,152 kB
  • sloc: python: 3,255; ansic: 1,965; cpp: 129; makefile: 14
file content (67 lines) | stat: -rw-r--r-- 1,803 bytes parent folder | download
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
[project]
requires-python = ">=3.11"
name = "gsd"
version = "4.2.0"
description = "General simulation data file format."
readme = "README.md"
license = "BSD-2-Clause"
license-files = ["LICENSE"]
authors = [
    {name = "Joshua A. Anderson", email = "joaander@umich.edu"},
]
classifiers=[
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Developers",
    "Intended Audience :: Science/Research",
    "Operating System :: MacOS :: MacOS X",
    "Operating System :: POSIX",
    "Topic :: Scientific/Engineering :: Physics",
    ]
dependencies = ["numpy"]

[project.scripts]
gsd = "gsd.__main__:main"

[project.urls]
Homepage = "https://gsd.readthedocs.io"
Documentation = "https://gsd.readthedocs.io"
Source = "https://github.com/glotzerlab/gsd"
Issues = "https://github.com/glotzerlab/gsd/issues"

[tool.setuptools]
packages = ["gsd", "gsd.test"]

[build-system]
requires = ["setuptools>=77.0.0",
            "wheel",
            "Cython>=3.1",
            "numpy>=2.0.0"]

[tool.cibuildwheel]
# Test the wheels.
test-command = "pytest --pyargs gsd -v --log-level=DEBUG"
test-requires = ["pytest==8.4.2", "numpy==2.3.3"]

# Build on 64-bit architectures.
archs = ["auto64"]

# dependencies do not build for musl
skip = ["pp*","*musllinux*","cp3??t-*"]

# Use abi3audit to catch issues with Limited API wheels
[tool.cibuildwheel.linux]
repair-wheel-command = [
  "auditwheel repair -w {dest_dir} {wheel}",
  "pipx run abi3audit --strict --verbose {wheel}",
]

[tool.cibuildwheel.macos]
repair-wheel-command = [
  "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}",
  "pipx run abi3audit --strict --verbose {wheel}",
]
[tool.cibuildwheel.windows]
repair-wheel-command = [
  "copy {wheel} {dest_dir}",
  "pipx run abi3audit --strict --verbose {wheel}",
]