-
Notifications
You must be signed in to change notification settings - Fork 1
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
Please avoid including libraries #3
Comments
I am only using PIL as a fallback for raster computation and values extraction. PIL is not available in the standard installer and I don't really think it should be... I've packaged both windows and linux versions but the program can probably run without it anyway. PIL isn't necessary and I could remove it. In the other hand PyQtGraph is quite fundamental for this project, hence is used for displaying and editing cross sections and other things that aren't quite the goal of qgis itself. We have been testing this on Linux and Windows 10 without problems with those libraries. |
I think PyQtGraph can be added to thee standard installer for win at least (unsure about OSX). |
I am using a slightly modified version of pyqtgraph that I did for this project btw. PIL here is actually it's fork PIllow: https://pypi.org/project/Pillow/ |
Hi, thanks for the reply. I'm still not convinced this is the best approach. Forking to me is evil ;) |
By looking at: https://plugins.qgis.org/publish/ There's nothing about not being allowed forked libraries which their license would allow to.So I thought that it was better to eliminate dependencies and just get this working easier for the users perspective. |
IMHO can be approved, there is no binary inside and all is pure python (no binary at all)! I would only suggest to add pythonpath to use that library only when necessary to avoid to interfere with distributed pillow of pyqtchart (if will be available) |
@pcav considering the above comment. Should I approve this plugin? |
I don't agree with this, as it does not help improving the core libs, duplicates info, and create a babelization of software (consider we are handling > on thousand plugins, we could easily end up with hundreds of different versions). |
@pcav I agree with you that avoiding duplication is the right way to go. I have removed the PIL library as I said it could be done. Still I can't remove PyqtGraph since it is a fork and the tendency is that more things will be modified on it. The truth is, since this is a university project that has been developed during 3 years by scholarship and I will be probably the last working on it, which I hope I am not, and it is the first open source alternative to Bentley's Topograph (proprietary), or Civil 3D (for road design), that I see, even though is still small compared to that, I am willing to make it more popular by having it on the main repo. My orienter already said that his first plan was to freeze on qgis 3.10 with this plugin installed, kinda forking qgis, for the next students until another scholarship comes to improve it and if that developers is willing to test a new qgis version. I don't agree but is the best solution if the plugin isn't easy to install in any qgis version. I did the work of porting it from qgis 2.8 to qgis 3.x and already reported the bugs i found on the APi, so I get when you talk about the importance of improving the core libs That's all I have to say. Pyqtgraph can't really be removed. Sorry for the poor english. |
This is convenient, but in a wider perspective can create issues. If the libs are not available in the standard installers, please consider helping adding them to it.
Thanks for understanding.
The text was updated successfully, but these errors were encountered: