-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (63 loc) · 1.35 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
[project]
name = "rpad-pyg"
version = "0.1.0"
description = "A Python Package Template"
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE.txt"}
authors = [
{email = "baeisner@andrew.cmu.edu", name = "Ben Eisner"}
]
dependencies = [
"rpad-core @ git+https://github.com/r-pad/core.git",
"torch >= 1.11.0",
"torch-scatter >= 2.0.9",
"torch-sparse >= 0.6.15",
"torch-cluster >= 1.6.0",
"torch-spline-conv >= 1.2.1",
"torch-geometric >= 2.0, < 2.3", # PointConv alias removed in 2.3
"tqdm",
]
[build-system]
requires = [
"setuptools >= 62.3.2",
"setuptools-scm",
"wheel",
]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
develop = [
"pytest",
"black >= 22.3.0",
"isort",
"mypy",
"pylint",
"autoflake",
"pre-commit",
"jupyterlab",
]
build_docs = [
"mkdocs-material",
"mkdocstrings[python]",
]
# Make setuptools only look in the src folder.
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
rpad = ["py.typed"]
[tool.isort]
profile = "black"
[tool.mypy]
python_version = 3.8
warn_return_any = true
warn_unused_configs = true
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
# Uncomment this when you have imports for mypy to ignore.
[[tool.mypy.overrides]]
module = [
"torch_geometric.*",
"tqdm.*",
]
ignore_missing_imports = true