-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from erpas/migration_to_QGIS3
porting to QGIS 3
- Loading branch information
Showing
34 changed files
with
657 additions
and
107,392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
SET DIR=%cd% | ||
|
||
SET PLUGIN=rivergis | ||
SET SRC=%DIR%\%PLUGIN% | ||
|
||
SET DEST=%UserProfile%\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins | ||
SET DEST_PLUGIN=%DEST%\%PLUGIN% | ||
|
||
rd %DEST_PLUGIN% /s /q | ||
|
||
xcopy %SRC% %DEST_PLUGIN% /s/i/h/e/k/f/c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
######################################################################################################################## | ||
# Link QGIS fibre network design plugin to .qgis2/python/plugin directory (with all python deps linked) | ||
######################################################################################################################## | ||
|
||
set -u # Exit if we try to use an uninitialised variable | ||
set -e # Return early if any command returns a non-0 exit status | ||
|
||
echo "ADD PLUGIN TO QGIS (dev version -- link)" | ||
|
||
PWD=`pwd` | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
PLUGIN=rivergis | ||
SRC=$DIR/$PLUGIN | ||
|
||
DEST=~/.local/share/QGIS/QGIS3/profiles/default/python/plugins | ||
DEST_PLUGIN=$DEST/$PLUGIN | ||
|
||
if [ ! -d "$SRC" ]; then | ||
echo "Missing directory $SRC" | ||
exit 1 | ||
fi | ||
|
||
rm -rf $DEST_PLUGIN | ||
|
||
ln -s $SRC $DEST_PLUGIN | ||
|
||
echo "$DEST_PLUGIN created" | ||
|
||
cd $PWD |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.