drap 0.0.2.post1__tar.gz → 0.0.3.post1__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: drap
3
- Version: 0.0.2.post1
3
+ Version: 0.0.3.post1
4
4
  Summary: Tool for analyzing droplet size and concentration using video and EDF images
5
5
  Author-email: "Gabriel Braga Marques Teobaldo, Oleg Prymak, Natalie Wolff, Matthias Epple, Marco Aurélio Brizzotti Andrade, Cássio Alves and Cristiano Luis Pinto de Oliveira" <alves.casssio@gmail.com>
6
6
  License: MIT
@@ -33,3 +33,17 @@ The graphical user interface provides:
33
33
  ## How to use
34
34
 
35
35
  Install:
36
+
37
+ python -m venv venv
38
+
39
+ source venv/bin/activate
40
+
41
+ pip install drap
42
+
43
+ Use:
44
+
45
+ drap -o 1 (Gui interface)
46
+
47
+ drap -o 2 (Terminal interface)
48
+
49
+ drap -o 3 (Automatic file: name_videos.dat)
@@ -11,4 +11,18 @@ The graphical user interface provides:
11
11
 
12
12
  ## How to use
13
13
 
14
- Install:
14
+ Install:
15
+
16
+ python -m venv venv
17
+
18
+ source venv/bin/activate
19
+
20
+ pip install drap
21
+
22
+ Use:
23
+
24
+ drap -o 1 (Gui interface)
25
+
26
+ drap -o 2 (Terminal interface)
27
+
28
+ drap -o 3 (Automatic file: name_videos.dat)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "drap"
7
- version = "0.0.2.post1"
7
+ version = "0.0.3.post1"
8
8
  description = "Tool for analyzing droplet size and concentration using video and EDF images"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -27,6 +27,12 @@ keywords = ["saxs", "x-ray", "edf", "opencv", "pyqt5", "droplet"]
27
27
  drap = "drap.main:main"
28
28
  drap-gui = "drap.gui:gui"
29
29
 
30
+ [tool.setuptools]
31
+ package-dir = {"" = "src"}
32
+
33
+ [tool.setuptools.packages.find]
34
+ where = ["src"]
35
+
30
36
  [project.urls]
31
37
  Homepage = "https://test.pypi.org/project/DrAP/"
32
38
  Source = "https://test.pypi.org/project/DrAP/"
@@ -1,5 +1,4 @@
1
- from .conc_scat_video import conc_scat_video # e outros imports necessários
2
- from .utils import get_info_video, get_video_file, get_dir_paths
1
+ from .utils import *
3
2
 
4
3
  import cv2
5
4
  from fabio.edfimage import EdfImage
@@ -1,5 +1,4 @@
1
- from .conc_scat_video import conc_scat_video # e outros imports necessários
2
- from .utils import get_info_video, get_video_file, get_dir_paths
1
+ from .utils import *
3
2
 
4
3
  import cv2
5
4
  from fabio.edfimage import EdfImage
@@ -34,11 +33,11 @@ import matplotlib.pyplot as plt
34
33
  matplotlib.use('Agg')
35
34
 
36
35
 
37
- from .image_cropper_full import ImageCropper # importa sua classe real
38
36
 
39
37
 
40
38
 
41
39
  def main_gui():
40
+
42
41
  app = QApplication(sys.argv)
43
42
  cropper = ImageCropper()
44
43
  sys.exit(app.exec_())
@@ -1,5 +1,4 @@
1
- from .conc_scat_video import conc_scat_video # e outros imports necessários
2
- from .utils import get_info_video, get_video_file, get_dir_paths
1
+ from .utils import *
3
2
 
4
3
  import cv2
5
4
  from fabio.edfimage import EdfImage