Skip to content

Commit

Permalink
Reducing the extlibs in one folder because it is not attached to spec…
Browse files Browse the repository at this point in the history
…ific OS
  • Loading branch information
XavierCLL committed Feb 16, 2023
1 parent 7a4bc2d commit 9424511
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ UI_FILES =

EXTRAS = metadata.txt

EXTRA_DIRS_WIN = core utils gui libs ui icons extlibs_windows
EXTRA_DIRS = core utils gui libs ui icons
EXTRA_DIRS = core utils gui libs ui icons extlibs

COMPILED_RESOURCE_FILES = resources.py

Expand Down
8 changes: 1 addition & 7 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@


def pre_init_plugin_libs_inside():
if platform.system() == "Windows":
extlib_path = 'extlibs_windows'
if platform.system() == "Darwin":
extlib_path = 'extlibs_darwin'
if platform.system() == "Linux":
extlib_path = 'extlibs_linux'
extra_libs_path = os.path.abspath(os.path.join(os.path.dirname(__file__), extlib_path))
extra_libs_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "extlibs"))

if os.path.isdir(extra_libs_path):
# add to python path
Expand Down
2 changes: 1 addition & 1 deletion metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name=PCA4CD - PCA for change detection
description=PCA4CD is a QGIS plugin that computes Principal Component Analysis (PCA) and can create a change detection layer using PCA's dimensionality reduction properties.
about=PCA4CD is a QGIS plugin that computes Principal Component Analysis (PCA) and can create a change detection layer using PCA's dimensionality reduction properties.

version=23.2
version=23.2a
qgisMinimumVersion=3.0
qgisMaximumVersion=3.99

Expand Down

0 comments on commit 9424511

Please sign in to comment.