File: pyproject.toml

package info (click to toggle)
python-schema-salad 8.4.20230213094415-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,440 kB
  • sloc: python: 14,250; cs: 1,771; java: 1,243; makefile: 189; xml: 184; sh: 108; javascript: 46
file content (31 lines) | stat: -rw-r--r-- 1,061 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
[build-system]
requires = [
    "setuptools>=45",
    "setuptools_scm[toml]>=6.2",
    'mypy==0.971; python_version == "3.6"',  # last version for Python 3.6
    'mypy==1.0.0; python_version >= "3.7"',
    "black>=19.10b0",
    "types-pkg_resources",
    "types-requests",
    "types-dataclasses",
    "ruamel.yaml>= 0.12.4, != 0.16.6, < 0.18",
    "types-setuptools"
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "schema_salad/_version.py"

[tool.cibuildwheel]
before-build = "python -m pip install -r requirements.txt -r mypy-requirements.txt"
test-command = "python -m pytest -n 2 --junitxml=/output/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad"
test-requires = "-r test-requirements.txt"
test-extras = "pycodegen"
skip = "pp* cp36-*"
#      ^ skip building wheels on PyPy (any version)
#           ^ skip building wheels on Python 3.6 (we now need mypy 0.990+ which doesn't support Python 3.6)
build-verbosity = "1"

[tool.black]
line-length = 100
target-version = [ "py36" ]