powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
53 stars 10 forks source link

Separate generic cpp part from cpp python part. #742

Closed obrix closed 3 months ago

obrix commented 4 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

To prepare for new usage of graalvm related code to other project a first step is to separate in a generic library all the generic code not explicitly linked to python. This PR try remove the dependency to pybind11 from the part that should remain generic and build a new generic library that can be reused in new project.

What is the current behavior?

A single library with dependency to pybind11 and python.

What is the new behavior (if this is a feature change)?

Two libraries : a generic powsybl-cpp and a python specific pypowsybl.

Does this PR introduce a breaking change or deprecate an API?

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

geofjamg commented 3 months ago

@obrix is it still rebasable ?

obrix commented 3 months ago

@geofjamg To sum up what remains to be done in another PR :