Commit 1930127f authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Do not package unused plugins

parent ce202433
......@@ -54,9 +54,9 @@ class Filter(object):
elif dir == '/assets/plugins':
# Whitelisted plugins, all others are ignored
search = ['LatLonPlugin', 'NominatimSearchPlugin', 'LocalDatabasePlugin', 'LocalOsmSearchPlugin']
routing = ['CycleStreetsPlugin', 'OSRMPlugin', 'OpenRouteServicePlugin', 'NominatimReverseGeocodingPlugin', 'RoutingPlugin']
routing = ['CycleStreetsPlugin', 'OSRMPlugin', 'OpenRouteServicePlugin', 'NominatimReverseGeocodingPlugin']
fileFormats = ['CachePlugin', 'GpxPlugin', 'KmlPlugin', 'OsmPlugin']
floatItems = ['ElevationProfileFloatItem', 'ElevationProfileMarker', 'PositionMarker', 'ProgressFloatItem', 'License']
floatItems = ['License']
positioning = ['QtPositioningPositionProviderPlugin']
plugins = search + routing + fileFormats + floatItems + positioning
whitelist = set(['lib{}.so'.format(plugin) for plugin in plugins])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment