pyloid 0.17.4__py3-none-any.whl → 0.18.0__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.
pyloid/utils.py CHANGED
@@ -25,8 +25,9 @@ def get_production_path(path: Optional[str] = None) -> Optional[str]:
25
25
  >>> print("Not in a production environment.")
26
26
  """
27
27
  if getattr(sys, 'frozen', False):
28
- # If built with PyInstaller
29
- return sys._MEIPASS + "/" + path if path else sys._MEIPASS
28
+ # Nuitka
29
+ base_path = os.path.dirname(sys.executable)
30
+ return os.path.join(base_path, path) if path else base_path
30
31
  else:
31
32
  # If running as a regular Python script
32
33
  return None
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyloid
3
- Version: 0.17.4
3
+ Version: 0.18.0
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
7
- Requires-Python: >=3.9,<3.13
7
+ Requires-Python: >=3.9,<3.14
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3.9
10
10
  Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
- Requires-Dist: pyside6 (>=6.8.0.2,<7.0.0.0)
13
+ Requires-Dist: pyside6 (>=6.8.1,<7.0.0)
14
14
  Description-Content-Type: text/markdown
15
15
 
16
16
  # Pyloid 👋
@@ -11,8 +11,8 @@ pyloid/pyloid.py,sha256=YKE2a5yZFbBZrtMND2X5I7CVnFRK40NFzDp3kYN-oQg,44091
11
11
  pyloid/thread_pool.py,sha256=fKOBb8jMfZn_7crA_fJCno8dObBRZE31EIWaNQ759aw,14616
12
12
  pyloid/timer.py,sha256=RqMsChFUd93cxMVgkHWiIKrci0QDTBgJSTULnAtYT8M,8712
13
13
  pyloid/tray.py,sha256=D12opVEc2wc2T4tK9epaN1oOdeziScsIVNM2uCN7C-A,1710
14
- pyloid/utils.py,sha256=XPM2PxO0LQ_eAnba5pKJ3vYsCev91JMFmv13EFuAy5o,2620
15
- pyloid-0.17.4.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
16
- pyloid-0.17.4.dist-info/METADATA,sha256=bqZ7DTwKxdvSw2wurQBe5EiCCOa-vXEEW6gXYVrg3rY,3054
17
- pyloid-0.17.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
18
- pyloid-0.17.4.dist-info/RECORD,,
14
+ pyloid/utils.py,sha256=rXxh28sWXkA3JGN5LxsXR5Ruhz2l10MNi5X_BViLO_Q,2655
15
+ pyloid-0.18.0.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
16
+ pyloid-0.18.0.dist-info/METADATA,sha256=O3WDD4p7eovP2WlT0AF15UJpF6HWA7XTTxD5AulEHts,3050
17
+ pyloid-0.18.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
18
+ pyloid-0.18.0.dist-info/RECORD,,