Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add MetaSearch 0.2.0 (geopython/MetaSearch#53)
  • Loading branch information
tomkralidis committed May 13, 2014
1 parent 29c39b9 commit c7a4002
Show file tree
Hide file tree
Showing 868 changed files with 92,877 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/CMakeLists.txt
Expand Up @@ -85,3 +85,4 @@ ADD_SUBDIRECTORY(fTools)
ADD_SUBDIRECTORY(GdalTools)
ADD_SUBDIRECTORY(db_manager)
ADD_SUBDIRECTORY(processing)
ADD_SUBDIRECTORY(MetaSearch)
11 changes: 11 additions & 0 deletions python/plugins/MetaSearch/CMakeLists.txt
@@ -0,0 +1,11 @@
FILE(GLOB_RECURSE EXTLIBS ext-libs)

FILE(GLOB_RECURSE DIALOGS dialogs)
FILE(GLOB_RECURSE IMAGES images)
FILE(GLOB_RECURSE LOCALE locale)
FILE(GLOB_RECURSE RESOURCES resources)
FILE(GLOB_RECURSE UI ui)

FILE(GLOB PY_FILES *.py)

PLUGIN_INSTALL(MetaSearch ${EXTLIBS} ${DIALOGS} ${IMAGES} ${LOCALE} ${RESOURCES} ${UI} ${PY_FILES} metadata.txt)
36 changes: 36 additions & 0 deletions python/plugins/MetaSearch/__init__.py
@@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Copyright (C) 2010 NextGIS (http://nextgis.org),
# Alexander Bruy (alexander.bruy@gmail.com),
# Maxim Dubinin (sim@gis-lab.info),
#
# Copyright (C) 2014 Tom Kralidis (tomkralidis@gmail.com)
#
# This source is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This code is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# A copy of the GNU General Public License is available on the World Wide Web
# at <http://www.gnu.org/copyleft/gpl.html>. You can also obtain it by writing
# to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.
#
###############################################################################

import os
import site

site.addsitedir(os.path.abspath('%s/ext-libs' % os.path.dirname(__file__)))


def classFactory(iface):
"""invoke plugin"""
from MetaSearch.plugin import MetaSearchPlugin
return MetaSearchPlugin(iface)
21 changes: 21 additions & 0 deletions python/plugins/MetaSearch/dialogs/__init__.py
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Copyright (C) 2014 Tom Kralidis (tomkralidis@gmail.com)
#
# This source is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This code is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# A copy of the GNU General Public License is available on the World Wide Web
# at <http://www.gnu.org/copyleft/gpl.html>. You can also obtain it by writing
# to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.
#
###############################################################################

0 comments on commit c7a4002

Please sign in to comment.