labs4capella / python4capella

Python for Capella
Eclipse Public License 2.0
52 stars 10 forks source link

Add a modular way to contribute to Python4Capella #211

Open ylussaud opened 6 months ago

ylussaud commented 6 months ago

This could be used to provide new API from open or closed sources. The following points should be addressed (this list need to be completed):

Ideally all of this should rely on p2 to prevent dependency head aches.

ATICA-pln commented 6 months ago

About this, please check this other issue that could be partially related: #204 We have created a forked version of Python4Capella where the API files use relative paths instead of workspace paths, this allows to use Python4Capella as a library and have in the workspace only the application / use-case specific scripts

ylussaud commented 6 months ago

Do you have a link to your forked modifications so I can have a look ? It make sens for the Python4Capella API indeed.

arturo-ps-atica commented 6 months ago

Currently our repository is a bit messy, however, the main change we have made regarding the paths is as follows:

image

We have tried to use some of the keywords provided by EASE such as "platform://" or "resource://" but have not been able to get them to work properly.

The repository is available HERE if you think the changes can be useful we can create a pull request once we have reorganized it.