Skip to content

Commit 16cc66a

Browse files
committed
Merge pull request #1350 from geopython/MetaSearch-0.2.0
add MetaSearch 0.2.0 (geopython/MetaSearch#53)
2 parents 240c128 + c7a4002 commit 16cc66a

File tree

868 files changed

+92877
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

868 files changed

+92877
-0
lines changed

python/plugins/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,4 @@ ADD_SUBDIRECTORY(fTools)
8585
ADD_SUBDIRECTORY(GdalTools)
8686
ADD_SUBDIRECTORY(db_manager)
8787
ADD_SUBDIRECTORY(processing)
88+
ADD_SUBDIRECTORY(MetaSearch)
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FILE(GLOB_RECURSE EXTLIBS ext-libs)
2+
3+
FILE(GLOB_RECURSE DIALOGS dialogs)
4+
FILE(GLOB_RECURSE IMAGES images)
5+
FILE(GLOB_RECURSE LOCALE locale)
6+
FILE(GLOB_RECURSE RESOURCES resources)
7+
FILE(GLOB_RECURSE UI ui)
8+
9+
FILE(GLOB PY_FILES *.py)
10+
11+
PLUGIN_INSTALL(MetaSearch ${EXTLIBS} ${DIALOGS} ${IMAGES} ${LOCALE} ${RESOURCES} ${UI} ${PY_FILES} metadata.txt)

python/plugins/MetaSearch/__init__.py

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# -*- coding: utf-8 -*-
2+
###############################################################################
3+
#
4+
# Copyright (C) 2010 NextGIS (http://nextgis.org),
5+
# Alexander Bruy (alexander.bruy@gmail.com),
6+
# Maxim Dubinin (sim@gis-lab.info),
7+
#
8+
# Copyright (C) 2014 Tom Kralidis (tomkralidis@gmail.com)
9+
#
10+
# This source is free software; you can redistribute it and/or modify it under
11+
# the terms of the GNU General Public License as published by the Free
12+
# Software Foundation; either version 2 of the License, or (at your option)
13+
# any later version.
14+
#
15+
# This code is distributed in the hope that it will be useful, but WITHOUT ANY
16+
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
18+
# details.
19+
#
20+
# A copy of the GNU General Public License is available on the World Wide Web
21+
# at <http://www.gnu.org/copyleft/gpl.html>. You can also obtain it by writing
22+
# to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23+
# MA 02111-1307, USA.
24+
#
25+
###############################################################################
26+
27+
import os
28+
import site
29+
30+
site.addsitedir(os.path.abspath('%s/ext-libs' % os.path.dirname(__file__)))
31+
32+
33+
def classFactory(iface):
34+
"""invoke plugin"""
35+
from MetaSearch.plugin import MetaSearchPlugin
36+
return MetaSearchPlugin(iface)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# -*- coding: utf-8 -*-
2+
###############################################################################
3+
#
4+
# Copyright (C) 2014 Tom Kralidis (tomkralidis@gmail.com)
5+
#
6+
# This source is free software; you can redistribute it and/or modify it under
7+
# the terms of the GNU General Public License as published by the Free
8+
# Software Foundation; either version 2 of the License, or (at your option)
9+
# any later version.
10+
#
11+
# This code is distributed in the hope that it will be useful, but WITHOUT ANY
12+
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14+
# details.
15+
#
16+
# A copy of the GNU General Public License is available on the World Wide Web
17+
# at <http://www.gnu.org/copyleft/gpl.html>. You can also obtain it by writing
18+
# to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19+
# MA 02111-1307, USA.
20+
#
21+
###############################################################################

0 commit comments

Comments
 (0)