Right now both the python bindings and pyprima have their own separate __init__.py files with a lot of code to interpret the problem and translate it into a form that that corresponding interface can accept.
Initially I thought that having separate files would make sense since these are two separate packages, but now I think it makes more sense to consolidate them, as there is a fair bit of common code, and the result is that we have a lot of duplication not only of the code, but also of the tests.
I think if we have a folder at the root of the project named pycommon and we symlink it into python and pyprima that should make the relationships clear and also maintainable.
Right now both the python bindings and pyprima have their own separate
__init__.pyfiles with a lot of code to interpret the problem and translate it into a form that that corresponding interface can accept.Initially I thought that having separate files would make sense since these are two separate packages, but now I think it makes more sense to consolidate them, as there is a fair bit of common code, and the result is that we have a lot of duplication not only of the code, but also of the tests.
I think if we have a folder at the root of the project named
pycommonand we symlink it intopythonandpyprimathat should make the relationships clear and also maintainable.