| 1 |
[project] |
| 2 |
name = "pysam" |
| 3 |
description = "Package for reading, manipulating, and writing genomic data" |
| 4 |
license = { text = "MIT License" } |
| 5 |
authors = [ |
| 6 |
{ name = "Andreas Heger", email = "[email protected]"} |
| 7 |
] |
| 8 |
requires-python = ">=3.8" |
| 9 |
|
| 10 |
dynamic = [ |
| 11 |
"classifiers", |
| 12 |
"readme", |
| 13 |
"version", |
| 14 |
] |
| 15 |
|
| 16 |
[project.urls] |
| 17 |
"Documentation" = "https://pysam.readthedocs.io/" |
| 18 |
"Release notes" = "https://pysam.readthedocs.io/en/stable/release.html" |
| 19 |
|
| 20 |
[build-system] |
| 21 |
requires = ["setuptools>=59.0", "Cython>=0.29.12,<4"] |
| 22 |
build-backend = "setuptools.build_meta:__legacy__" |
| 23 |
|
| 24 |
[tool.cibuildwheel] |
| 25 |
before-all = "{project}/devtools/install-prerequisites.sh {project}/devtools/emulate-tools.py /usr/local/bin" |
| 26 |
|
| 27 |
before-build = "make -C {project}/htslib distclean" |
| 28 |
|
| 29 |
test-requires = ["pytest"] |
| 30 |
test-command = "REF_PATH=: pytest {project}/tests" |
| 31 |
|
| 32 |
[tool.tox] |
| 33 |
legacy_tox_ini = """ |
| 34 |
[tox] |
| 35 |
envlist = py38, py311 |
| 36 |
|
| 37 |
[testenv] |
| 38 |
deps = pytest |
| 39 |
setenv = REF_PATH=: |
| 40 |
commands = pytest tests |
| 41 |
""" |