-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
90 lines (82 loc) · 2.29 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "snputils"
dynamic = ["version"] # Version is set by setuptools_scm and determined by the latest git tag
description = "Process diverse genomes with ease"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "BSD 3-Clause License"}
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"numpy<2; python_version < '3.10'",
"numpy; python_version >= '3.10'",
"pandas",
"pandas-stubs",
"scikit-learn",
"scikit-allel",
"Pgenlib",
"matplotlib",
"joblib",
"tqdm",
"polars",
"plotly",
"plotly_express",
"kaleido",
"nbformat",
"pong",
"adjustText",
"zstandard",
]
[project.optional-dependencies]
gpu = ["torch"]
demos = ["jupyterlab", "seaborn"]
tests = ["tox", "pytest", "pytest-cov"]
docs = ["pdoc", "torch"] # pdoc requires to import all the libraries that are imported in the code
benchmark = ["pytest", "pytest-benchmark", "memory_profiler",
"pandas-plink", "pysam", "scikit-allel", "sgkit[plink]", "hail", "pysnptools", "Pgenlib", "cyvcf2", "plinkio", "PyVCF3"]
[project.urls]
"Homepage" = "https://snputils.org"
"Documentation" = "https://docs.snputils.org"
"Source Code" = "https://github.com/AI-sandbox/snputils"
"Issue Tracker" = "https://github.com/AI-sandbox/snputils/issues"
[project.scripts]
snputils = "snputils.tools.entry:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["snputils*"]
[tool.setuptools_scm]
[tool.mypy]
python_version = "3.8"
ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38, py313
isolated_build=true
[gh-actions]
python =
3.8: py38
3.13: py313
[testenv]
passenv =
CI
GITHUB_ACTIONS
extras =
tests
gpu
docs
commands = python -m pytest -vv --color=yes --cov=snputils --cov-report=xml
"""