| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # -*- coding: utf-8 -*-
- """
- /***************************************************************************
- FileSystem
- A QGIS plugin
- Plugin allows users to rename layers on disk within QGIS, and copy layer paths (both absolute and relative) to the clipboard.
- Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/
- -------------------
- begin : 2022-05-31
- copyright : (C) 2022 by TUFLOW
- email : support@tuflow.com
- git sha : $Format:%H$
- ***************************************************************************/
- /***************************************************************************
- * *
- * This program 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 script initializes the plugin, making it known to QGIS.
- """
- # noinspection PyPep8Naming
- def classFactory(iface): # pylint: disable=invalid-name
- """Load FileSystem class from file FileSystem.
- :param iface: A QGIS interface instance.
- :type iface: QgsInterface
- """
- #
- from .file_management import FileManagement
- import sys
- pv = sys.version_info
- if pv.major < 3:
- return
- if pv.major == 3 and pv.minor < 8:
- return
- return FileManagement(iface)
|