File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ python = import('python').find_installation(pure: false)
33python.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(
1920py_include = include_directories (' ../utils/_backend/cpp' )
2021
2122python.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
2830python.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' )
Original file line number Diff line number Diff 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
2525python.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
3232subdir (' tests' )
You can’t perform that action at this time.
0 commit comments