-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
90 lines (80 loc) · 2.48 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 = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "haptools"
version = "0.5.0"
description = "Ancestry and haplotype aware simulation of genotypes and phenotypes for complex trait analysis"
authors = [
{name = "Arya Massarat"},
{name = "Michael Lamkin"},
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"numpy>=1.20.0",
"click>=8.0.3",
"pysam>=0.19.0",
"cyvcf2>=0.30.14",
"matplotlib>=3.5.1",
"pgenlib>=0.90.1",
]
[tool.poetry.dependencies]
numpy = [
{ version = "1.20.0" , markers = "python_version <= '3.9'" },
{ version = "2.2.2" , markers = "python_version > '3.9'" },
]
click = [
{ version = "8.0.3" , markers = "python_version <= '3.9'" },
{ version = "8.1.1" , markers = "python_version > '3.9'" },
]
pysam = [
{ version = "0.19.0" , markers = "python_version <= '3.9'" },
{ version = "0.23.0" , markers = "python_version > '3.9'" },
]
cyvcf2 = [
{ version = "0.30.14" , markers = "python_version <= '3.9'" },
{ version = "0.31.1" , markers = "python_version > '3.9'" },
]
matplotlib = [
{ version = "3.5.1" , markers = "python_version <= '3.9'" },
{ version = "3.10.0" , markers = "python_version > '3.9'" },
]
pgenlib = [
{ version = "0.90.1" , markers = "python_version <= '3.9'" },
{ version = "0.92.0" , markers = "python_version > '3.9'" },
]
[project.urls]
repository = "https://github.com/cast-genomics/haptools"
homepage = "https://github.com/cast-genomics/haptools"
documentation = "https://haptools.readthedocs.io"
changelog = "https://github.com/CAST-genomics/haptools/blob/main/CHANGELOG.md"
[project.scripts]
haptools = "haptools.__main__:main"
[tool.poetry]
requires-poetry = ">=2.0"
[tool.poetry.group.docs.dependencies]
Sphinx = ">=4.3.2"
sphinx-autodoc-typehints = ">=1.12.0"
sphinx-rtd-theme = ">=1.0.0"
numpydoc = ">=1.1.0"
sphinx-click = ">=3.0.2"
[tool.poetry.group.tests.dependencies]
pytest = ">=7.4.3"
black = ">=23.3.0"
ipython = ">=7.34.0"
coverage = {extras = ["toml"], version = ">=7.2.7"}
filprofiler = ">=2023.3.1"
[tool.poetry.requires-plugins]
poetry-conda = ">=0.1.4"
poetry-plugin-export = ">=1.9"
poetry-plugin-shell = ">=1.0.1"
[tool.black]
line-length = 88
preview = true
extend-exclude = "haptools/(sim_genotype|karyogram).py"
[tool.pytest.ini_options]
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"