Skip to content

Commit

Permalink
splitting qgis-using functions, testing others
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna committed Jan 16, 2024
1 parent 4530aab commit 9682316
Show file tree
Hide file tree
Showing 21 changed files with 1,611 additions and 1,247 deletions.
2 changes: 0 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ def classFactory(iface): # pylint: disable=invalid-name
iface.pluginToolBar().setVisible(True)

# Ensure dependencies are installed in the machine
# from speckle.utils import enable_remote_debugging
# enable_remote_debugging()
startDebugger()
ensure_dependencies("QGIS")

Expand Down
6 changes: 6 additions & 0 deletions plugin_utils/env_var_qgis.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$Env:Pythonpath = ";" + $Env:OSGEO4W_ROOT + "\apps\qgis\python"
setx PYTHONPATH "$Env:Pythonpath"

$Env:OSGEO4W_ROOT = "C:\OSGeo4W64"
$Env:Path = $Env:OSGEO4W_ROOT + "\apps\qgis\bin;" + $Env:Path
setx PATH "$Env:Path"
2 changes: 1 addition & 1 deletion plugin_utils/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from speckle.utils.utils import get_qgis_python_path

_user_data_env_var = "SPECKLE_USERDATA_PATH"
_debug = False
_debug = True
_vs_code_directory = os.path.expanduser(
"~\.vscode\extensions\ms-python.python-2023.20.0\pythonFiles\lib\python"
)
Expand Down
1,006 changes: 511 additions & 495 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ devtools = "^0.12.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
pythonpath = "speckle"
350 changes: 0 additions & 350 deletions speckle/converter/geometry/__init__.py

Large diffs are not rendered by default.

Loading

0 comments on commit 9682316

Please sign in to comment.