Skip to content

Commit f9223b1

Browse files
committed
fix docs yaml and pyproject toml
1 parent 4585100 commit f9223b1

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ jobs:
2929
- name: Build documentation
3030
# Build the documentation, you can use this command locally
3131
run: |
32-
cd docs/source
33-
python -m sphinx -T -W --keep-going -b html -d _build/doctrees -D language=en . docs/html
32+
python -m sphinx -T -W --keep-going -b html -d docs/source/_build/doctrees -D language=en docs/source/ docs/source/docs/html

docs/source/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@
88
#
99
import os
1010
import sys
11+
sys.path.insert(0, os.path.abspath('src'))
1112
sys.path.insert(0, os.path.abspath('../../src'))
12-
sys.path.insert(0, os.path.abspath('../..'))
13+
sys.path.insert(0, os.path.abspath('.'))
1314
sys.setrecursionlimit(1500)
1415

16+
import datasets_block
17+
print("DEBUG datasets_block imported from:", datasets_block.__file__)
18+
print("DEBUG datasets_block.datasets_manager.DatasetManager imported from:", datasets_block.datasets_manager.DatasetManager.__file__)
19+
20+
1521
# -- Project information
1622

1723
project = 'GNN-AID'

pyproject.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
[build-system]
2-
requires = ["flit_core >=3.2,<4"]
3-
build-backend = "flit_core.buildapi"
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "src"
6+
name = "GNN-AID"
77
authors = [
88
{name = "Mikhail Drobyshevskiy", email = "drobyshevsky@ispras.ru"},
99
{name = "Kirill Lukyanov", email = "lukyanov.k@ispras.ru"}, ]
10-
dynamic = ["description"]
1110
version = "0.0.1"
1211

13-
[tool.setuptools.dynamic]
14-
#version = {file = "VERSION"}
12+
[tool.setuptools]
13+
package-dir = {"" = "src"}
14+
15+
[tool.setuptools.packages.find]
16+
where = ["src"]

0 commit comments

Comments
 (0)