Skip to content

Commit

Permalink
remove pybind11 submodule
Browse files Browse the repository at this point in the history
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
  • Loading branch information
HugoKulesza committed Nov 27, 2024
1 parent 43535cc commit 5908477
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

3 changes: 2 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ endif()

if(BUILD_PYTHON_BINDINGS)
#Build pythin bindings
add_subdirectory(lib/pybind11)
set(PYBIND11_FINDPYTHON ON)
find_package(pybind11 CONFIG REQUIRED)
add_subdirectory(pypowsybl-cpp)
endif()
1 change: 0 additions & 1 deletion cpp/lib/pybind11
Submodule pybind11 deleted from 3e9dfa
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# actual dependencies
pandas==2.2.2; python_version >= "3.9"
pandas==2.2.3; python_version >= "3.9"
pandas==2.0.3; python_version <= "3.8"
prettytable==3.11.0 # last version supporting python 3.8
networkx
matplotlib==3.9.2; python_version >= "3.9"
matplotlib==3.7.5; python_version <= "3.8"
pybind11[global]==2.12.0

# optional dependencies
pandapower==2.14.11
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ install_requires =
pandas>=2.2.2; python_version >= "3.9"
pandas>=2.0.3; python_version <= "3.8"
networkx
pybind11[global]==2.12.0

[options.extras_require]
pandapower =
Expand Down

0 comments on commit 5908477

Please sign in to comment.