pyTRACTnmr 0.1.2b2__tar.gz → 0.1.2b3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyTRACTnmr
3
- Version: 0.1.2b2
3
+ Version: 0.1.2b3
4
4
  Summary: A simple gui based application to process and analyse TRACT data from NMR spectroscopy.
5
5
  Project-URL: Homepage, https://github.com/debadutta-patra/pyTRACTnmr
6
6
  Project-URL: Repository, https://github.com/debadutta-patra/pyTRACTnmr
@@ -48,7 +48,7 @@ Description-Content-Type: text/markdown
48
48
  The fastest way to try pyTRACTnmr without installation is:
49
49
 
50
50
  ```bash
51
- uvx pytractnmr
51
+ uvx pyTRACTnmr
52
52
  ```
53
53
 
54
54
  #### Using pip
@@ -30,7 +30,7 @@
30
30
  The fastest way to try pyTRACTnmr without installation is:
31
31
 
32
32
  ```bash
33
- uvx pytractnmr
33
+ uvx pyTRACTnmr
34
34
  ```
35
35
 
36
36
  #### Using pip
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyTRACTnmr"
3
- version = "0.1.2b2"
3
+ version = "0.1.2b3"
4
4
  description = "A simple gui based application to process and analyse TRACT data from NMR spectroscopy."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.14"
@@ -1,7 +1,10 @@
1
1
  import sys
2
2
  from PySide6.QtWidgets import QApplication
3
3
 
4
- from window import TractApp # type: ignore
4
+ try:
5
+ from window import TractApp # type: ignore
6
+ except ImportError:
7
+ from .window import TractApp # type: ignore
5
8
 
6
9
 
7
10
  def main():
@@ -28,8 +28,14 @@ from PySide6.QtCore import Qt, QPoint
28
28
 
29
29
  from matplotlib.widgets import SpanSelector
30
30
 
31
- from widgets import MplCanvas, CustomNavigationToolbar # type: ignore
32
- import processing # type: ignore
31
+ try:
32
+ from widgets import MplCanvas, CustomNavigationToolbar # type: ignore
33
+ import processing # type: ignore
34
+ except ImportError:
35
+ from .widgets import MplCanvas, CustomNavigationToolbar # type: ignore
36
+ from . import processing # type: ignore
37
+
38
+
33
39
 
34
40
 
35
41
  class TractApp(QMainWindow):
@@ -400,7 +400,7 @@ wheels = [
400
400
 
401
401
  [[package]]
402
402
  name = "pytractnmr"
403
- version = "0.1.2b2"
403
+ version = "0.1.2b3"
404
404
  source = { editable = "." }
405
405
  dependencies = [
406
406
  { name = "matplotlib" },
File without changes
File without changes