Extension with external dependencies #4
Replies: 2 comments 2 replies
-
|
I think it is important to keep such extensions separate from pytopotoolbox, so that a user does not need to install the extension or, more importantly, any dependencies, just to use pytopotoolbox. I imagine that means multiple packages with their own I'm not opposed, however, to hosting such a package within the pytopotoolbox repository, though that would need some reorganization of our existing code. Probably the best approach is to start out with a separate repository, and we can figure out whether we want to merge it and what that might look like once we know what you have. I think @Teschl has been working on some QGIS integrations that look like this as well. |
Beta Was this translation helpful? Give feedback.
-
I have found a way to manage Python dependencies for QGIS plugins, so it's not really required to implement the pytopotoolbox functions with gdal instead of using rasterio. qpip is still in early development, but is able to install and remove needed packages for different plugins in QGIS (TopoToolbox/QGISTopoToolbox#1). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @wkearn,
Let's say I'd like to add a plugin/extension that's exclusive for
pytopotoolbox- for example a mapcomposer plotting engine to create sophisticated 2D/3D figures withmatplotlib,pyplotandpyvista; or acliinterface that automate some tasks without having to write a script (e.g. pre-fill a DEM, ...).What would you prefer in term of structure:
__init__.py) withinpytopotoolboxCheers,
Beta Was this translation helpful? Give feedback.
All reactions