qcanvas 1.0.6a2__py3-none-any.whl → 1.0.6a3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of qcanvas might be problematic. Click here for more details.

qcanvas/util/paths.py CHANGED
@@ -1,4 +1,5 @@
1
1
  import logging
2
+ import os
2
3
  import platform
3
4
  import sys
4
5
  from pathlib import Path
@@ -11,6 +12,11 @@ _logger = logging.getLogger(__name__)
11
12
  _is_running_on_windows = platform.system() == "Windows"
12
13
  _is_running_on_linux = platform.system() == "Linux"
13
14
  _is_running_as_pyinstaller = getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS")
15
+ _is_running_as_flatpak = getattr(sys, "container", False)
16
+
17
+ print(_is_running_as_flatpak)
18
+ print(sys)
19
+ print(os.environ.items())
14
20
 
15
21
 
16
22
  def client_settings() -> QSettings:
@@ -30,6 +36,7 @@ def root() -> Path:
30
36
  root_path = platformdirs.user_data_path("QCanvasReborn", "QCanvasTeam")
31
37
 
32
38
  _logger.debug("Root path %s", root_path.absolute())
39
+ print(root_path.absolute())
33
40
  return root_path
34
41
 
35
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qcanvas
3
- Version: 1.0.6a2
3
+ Version: 1.0.6a3
4
4
  Summary: QCanvas is a desktop client for Canvas LMS.
5
5
  Author: QCanvas
6
6
  Author-email: QCanvas@noreply.codeberg.org
@@ -51,7 +51,7 @@ qcanvas/util/fe_resource_manager.py,sha256=5YO549oBpSgcthD9hxm8trnjHEfudltkh-Sfq
51
51
  qcanvas/util/html_cleaner.py,sha256=O9_PhvZZw3RcPjdXZagAbNmp8Hfyq9fydBH-ee-DfII,615
52
52
  qcanvas/util/layouts.py,sha256=7wQ0-DAbRHPPcfVIQoOmVhPdhGqcF-6qWE1-P86e7ys,1351
53
53
  qcanvas/util/logs.py,sha256=VZKFITiW2WR2POEFVv5GRpEXic23Pzjehry-vH3g3Gk,138
54
- qcanvas/util/paths.py,sha256=HGIOqplZykmGBNaUaNFIik_Tj4jLAi4n-TZbvUIivDE,1035
54
+ qcanvas/util/paths.py,sha256=cjFb1lc_5nJs6K2JhjGvHuZ9wxleib0vFIOb6wBw8Ko,1203
55
55
  qcanvas/util/qurl_util.py,sha256=NkskYvrMQJuYWMNF4DFQ4J5-YM5CGl5gHQKxJaAhHBE,197
56
56
  qcanvas/util/settings/__init__.py,sha256=ivc8bczhQdEJsWse6fc81Xyz0i2YX57pL4UubM3NJfw,228
57
57
  qcanvas/util/settings/_client_settings.py,sha256=HxGH9eOCdBj8wYboGhzNX0LFw_bmzF-Vwo44y1W0EqY,1036
@@ -59,7 +59,7 @@ qcanvas/util/settings/_mapped_setting.py,sha256=Z6635FfDll9cCLfSkVg-unsDLvUWuKT5
59
59
  qcanvas/util/settings/_ui_settings.py,sha256=X1AFVIJzck0S3YdEWN6VMws4k9sWquM1t5hwMYOsfTw,927
60
60
  qcanvas/util/ui_tools.py,sha256=bSM1xrmZPn847YEbXAC9VIAv--8hMLMWrsEMWGA5p3E,916
61
61
  qcanvas/util/url_checker.py,sha256=03jqnQ1_GOlCJyRHrlMbSQE9QsHrVNsg0kFsA8oKP60,361
62
- qcanvas-1.0.6a2.dist-info/METADATA,sha256=8YoaJtJuASFOZDKkBoRp_5Bu4DVxRq-k8Xo7U7pvQL4,1652
63
- qcanvas-1.0.6a2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
64
- qcanvas-1.0.6a2.dist-info/entry_points.txt,sha256=46VbnhQ9w2CYdfhYcPfWgjXYHjsKshu0asQ1B_sAMac,44
65
- qcanvas-1.0.6a2.dist-info/RECORD,,
62
+ qcanvas-1.0.6a3.dist-info/METADATA,sha256=_C_iJmS7GIuWsI5wScuQkJfboomfMKf2M5t5nWqc8_4,1652
63
+ qcanvas-1.0.6a3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
64
+ qcanvas-1.0.6a3.dist-info/entry_points.txt,sha256=46VbnhQ9w2CYdfhYcPfWgjXYHjsKshu0asQ1B_sAMac,44
65
+ qcanvas-1.0.6a3.dist-info/RECORD,,