-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpyproject.toml
154 lines (146 loc) · 3.84 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[tool.poetry]
package-mode = true
license = "GNU GPLv3"
name = "torchvinecopulib"
version = "2024.12.1"
description = "yet another vine copula library for PyTorch."
authors = ["Tuoyuan Cheng <tuoyuan.cheng@nus.edu.sg>"]
maintainers = ["Xiaosheng You <e1204754@u.nus.edu>"]
readme = "README.md"
# homepage = ""
repository = "https://github.com/TY-Cheng/torchvinecopulib"
documentation = "https://ty-cheng.github.io/torchvinecopulib/"
keywords = ["vine copula", "copula", "torch"]
classifiers = [
"Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.1",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.sphinx-pyproject]
source-dir = "docs"
build-dir = "docs/_build"
all_files = true
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosectionlabel",
"sphinx.ext.autosummary",
"sphinx.ext.coverage",
"sphinx.ext.doctest",
"sphinx.ext.extlinks",
"sphinx.ext.githubpages",
"sphinx.ext.graphviz",
"sphinx.ext.ifconfig",
"sphinx.ext.imgconverter",
"sphinx.ext.inheritance_diagram",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
html_theme = "furo"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/TY-Cheng/torchvinecopulib/issues/new"
[[tool.poetry.source]]
name = "torch_cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[[tool.poetry.source]]
name = "torch_cuda"
url = "https://download.pytorch.org/whl/cu124"
priority = "explicit"
[tool.poetry.dependencies]
numpy = "*"
python = "^3.10"
scipy = "*"
torch = { version = "^2", optional = true }
#
[tool.poetry.group.dev_cpu]
optional = true
[tool.poetry.group.dev_cpu.dependencies]
torch = { version = "^2", source = "torch_cpu", markers = "extra=='dev_cpu' and extra!='dev_cuda'" }
#
black = { version = "*", extras = ["jupyter"] }
coverage = { version = "*" }
fastkde = { version = "*" }
flake8 = { version = "*" }
furo = { version = "*" }
ipykernel = { version = "*" }
matplotlib = { version = "*" }
pandas = { version = "*" }
pot = { version = "*" }
pytest = { version = "*" }
pyvinecopulib = { version = "0.6.6" }
scikit-learn = { version = "*" }
sphinx = { version = "*" }
sphinx-pyproject = { version = "*" }
tokenize-rt = { version = "*" }
yfinance = { version = "*" }
#
[tool.poetry.group.dev_cuda]
optional = true
[tool.poetry.group.dev_cuda.dependencies]
torch = { version = "^2", source = "torch_cuda", markers = "extra=='dev_cuda' and extra!='dev_cpu'" }
#
black = { version = "*", extras = ["jupyter"] }
coverage = { version = "*" }
fastkde = { version = "*" }
flake8 = { version = "*" }
furo = { version = "*" }
ipykernel = { version = "*" }
matplotlib = { version = "*" }
pandas = { version = "*" }
pot = { version = "*" }
pytest = { version = "*" }
pyvinecopulib = { version = "0.6.6" }
scikit-learn = { version = "*" }
sphinx = { version = "*" }
sphinx_pyproject = { version = "*" }
tokenize-rt = { version = "*" }
yfinance = { version = "*" }
[tool.poetry.extras]
dev_cpu = [
"torch",
"black",
"coverage",
"fastkde",
"flake8",
"furo",
"ipykernel",
"matplotlib",
"pandas",
"pot",
"pytest",
"pyvinecopulib",
"scikit-learn",
"sphinx",
"sphinx_pyproject",
"tokenize-rt",
"yfinance",
]
dev_cuda = [
"torch",
"black",
"coverage",
"fastkde",
"flake8",
"furo",
"ipykernel",
"matplotlib",
"pandas",
"pot",
"pytest",
"pyvinecopulib",
"scikit-learn",
"sphinx",
"sphinx_pyproject",
"tokenize-rt",
"yfinance",
]