Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External libraries #2

Closed
dakk opened this issue Apr 15, 2021 · 2 comments
Closed

External libraries #2

dakk opened this issue Apr 15, 2021 · 2 comments

Comments

@dakk
Copy link

dakk commented Apr 15, 2021

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
Copy link
Owner

enricofer commented Apr 15, 2021

Hi Davide, unfortunately QGIS plugin support for external modules is very limited. Maybe in the next releases will be a virtualenv per user profile (qgis/QGIS-Enhancement-Proposals#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
Copy link
Author

dakk commented Apr 16, 2021

@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

@dakk dakk closed this as completed Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants