Skip to content

Commit 12178ad

Browse files
authored
Merge branch 'main' into main
2 parents 1f0917e + 5734d6a commit 12178ad

File tree

2 files changed

+1958
-19
lines changed

2 files changed

+1958
-19
lines changed

pyproject.toml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
[tool.poetry]
1+
[project]
22
name = "dhg"
33
version = "0.9.5"
44
description = "DHG is a Deep Learning Framework for Graph Neural Network and Hypergraph Neural Networks."
5-
authors = ["yifanfeng97 <[email protected]>"]
6-
license = "Apache-2.0"
5+
authors = [
6+
{name = "yifanfeng97", email = "[email protected]"}
7+
]
8+
license = {text = "Apache-2.0"}
79
readme = "README.md"
8-
homepage = "https://deephypergraph.com"
9-
repository = "https://github.com/iMoonLab/DeepHypergraph"
10-
documentation = "https://deephypergraph.com/docs"
10+
requires-python = ">=3.8,<3.13"
1111
keywords = ["pytorch", "deep learning", "graph neural networks", "hypergraph neural networks"]
1212
classifiers = [
1313
"Development Status :: 4 - Beta",
@@ -29,18 +29,22 @@ classifiers = [
2929
"Topic :: Software Development :: Libraries :: Python Modules",
3030
"License :: OSI Approved :: Apache Software License",
3131
]
32+
dependencies = [
33+
"torch>=1.12.1,<2.0",
34+
"scipy>=1.8",
35+
"optuna",
36+
"numpy<2.0",
37+
"scikit-learn",
38+
"requests",
39+
"matplotlib>=3.7.0",
40+
]
3241

33-
[tool.poetry.dependencies]
34-
python = "^3.8"
35-
torch = ">= 1.12.1, < 2.0"
36-
scipy = "^1.8"
37-
optuna = "*"
38-
numpy = "*"
39-
scikit-learn = "*"
40-
requests = "*"
41-
matplotlib = ">= 3.7.0"
42-
43-
[tool.poetry.dev-dependencies]
42+
[project.optional-dependencies]
43+
dev = [
44+
"pytest",
45+
"black",
46+
"isort",
47+
]
4448

4549
[tool.black]
4650
include = '\.pyi?$'
@@ -51,5 +55,5 @@ profile = "black"
5155
line_length = 119
5256

5357
[build-system]
54-
requires = ["poetry-core>=1.0.0"]
55-
build-backend = "poetry.core.masonry.api"
58+
requires = ["hatchling"]
59+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)