Skip to content

Commit 2bcc3fd

Browse files
Prerak SinghPrerak Singh
authored andcommitted
bug fix
1 parent 24b1394 commit 2bcc3fd

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

pydatastructs/graphs/meson.build

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ python = import('python').find_installation(pure: false)
33
python.install_sources(
44
[
55
'__init__.py',
6+
'_extensions.py',
67
'adjacency_list.py',
78
'adjacency_matrix.py',
89
'algorithms.py',
@@ -19,17 +20,19 @@ python.install_sources(
1920
py_include = include_directories('../utils/_backend/cpp')
2021

2122
python.extension_module(
22-
'_nodes',
23-
'_backend/cpp/nodes.cpp',
23+
'pydatastructs.graphs._backend.cpp._graph',
24+
'_backend/cpp/graph.cpp',
25+
include_directories: py_include,
2426
install: true,
25-
subdir: 'pydatastructs/utils/_backend/cpp'
27+
subdir: 'pydatastructs/graphs'
2628
)
2729

2830
python.extension_module(
29-
'_graph_utils',
30-
'_backend/cpp/graph_utils.cpp',
31+
'pydatastructs.graphs._backend.cpp._algorithms',
32+
'_backend/cpp/algorithms.cpp',
33+
include_directories: py_include,
3134
install: true,
32-
subdir: 'pydatastructs/utils/_backend/cpp'
35+
subdir: 'pydatastructs/graphs'
3336
)
3437

35-
subdir('tests')
38+
subdir('tests')

pydatastructs/utils/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ python.extension_module(
1919
'pydatastructs.utils._backend.cpp._nodes',
2020
'_backend/cpp/nodes.cpp',
2121
install: true,
22-
subdir: 'pydatastructs/utils/_backend/cpp'
22+
subdir: 'pydatastructs/utils'
2323
)
2424

2525
python.extension_module(
2626
'pydatastructs.utils._backend.cpp._graph_utils',
2727
'_backend/cpp/graph_utils.cpp',
2828
install: true,
29-
subdir: 'pydatastructs/utils/_backend/cpp'
29+
subdir: 'pydatastructs/utils'
3030
)
3131

3232
subdir('tests')

0 commit comments

Comments
 (0)