enricofer / wind_forecast_routing

8 stars 1 forks source link

External libraries #2

Closed dakk closed 3 years ago

dakk commented 3 years ago

It might make more sense to develop both in the same repository (libgweatherrouting) while add the reference in the requirements.txt of this plugin. Same thought for LatLon23.

enricofer commented 3 years ago

Hi Davide, unfortunately QGIS plugin support for external modules is very limited. Maybe in the next releases will be a virtualenv per user profile (https://github.com/qgis/QGIS-Enhancement-Proposals/issues/202) but for now we have to put the required modules in a separate directory pointing the environment variables to make them discoverable by python subsystem. Anyway the plugin in its actual form is only a rough way to display libweatherrouting results in a friendly environment, for verifying with @pcav the routing efficiency and issues and eventually propose improvements and also understand the functioning in the deep

dakk commented 3 years ago

@enricofer got it! Anyway if qgis plugin aren't allowed to install python deps, an almost-ideal solution for the future is to use git submodules feature