io4it 0.0.0.9__tar.gz → 0.0.0.11__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.
Files changed (34) hide show
  1. {io4it-0.0.0.9 → io4it-0.0.0.11}/PKG-INFO +2 -1
  2. {io4it-0.0.0.9 → io4it-0.0.0.11}/io4it.egg-info/PKG-INFO +2 -1
  3. {io4it-0.0.0.9 → io4it-0.0.0.11}/io4it.egg-info/requires.txt +5 -0
  4. {io4it-0.0.0.9 → io4it-0.0.0.11}/setup.py +41 -15
  5. {io4it-0.0.0.9 → io4it-0.0.0.11}/License.txt +0 -0
  6. {io4it-0.0.0.9 → io4it-0.0.0.11}/io4it.egg-info/SOURCES.txt +0 -0
  7. {io4it-0.0.0.9 → io4it-0.0.0.11}/io4it.egg-info/dependency_links.txt +0 -0
  8. {io4it-0.0.0.9 → io4it-0.0.0.11}/io4it.egg-info/entry_points.txt +0 -0
  9. {io4it-0.0.0.9 → io4it-0.0.0.11}/io4it.egg-info/namespace_packages.txt +0 -0
  10. {io4it-0.0.0.9 → io4it-0.0.0.11}/io4it.egg-info/top_level.txt +0 -0
  11. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/__init__.py +0 -0
  12. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/ocr_function/__init__.py +0 -0
  13. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/ocr_function/word_converter.py +0 -0
  14. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/OWMarkdownizer.py +0 -0
  15. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/OWPathPropagator.py +0 -0
  16. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/OWS3Uploader.py +0 -0
  17. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/OWS3downloader.py +0 -0
  18. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/OWS3list.py +0 -0
  19. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/OWSpeechToText.py +0 -0
  20. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/OWwordpdf2docx.py +0 -0
  21. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/__init__.py +0 -0
  22. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/designer/ow_in_or_out_path.ui +0 -0
  23. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/designer/owspeechtotext.ui +0 -0
  24. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/designer/wordpdf2docx.ui +0 -0
  25. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/category.svg +0 -0
  26. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/download.png +0 -0
  27. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/in_or_out.png +0 -0
  28. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/list_aws.png +0 -0
  29. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/md.png +0 -0
  30. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/speech_to_text.png +0 -0
  31. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/upload.png +0 -0
  32. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/IO4IT/widgets/icons/wordpdf2docx.png +0 -0
  33. {io4it-0.0.0.9 → io4it-0.0.0.11}/orangecontrib/__init__.py +0 -0
  34. {io4it-0.0.0.9 → io4it-0.0.0.11}/setup.cfg +0 -0
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: io4it
3
- Version: 0.0.0.9
3
+ Version: 0.0.0.11
4
4
  Home-page:
5
5
  Author:
6
6
  Author-email:
7
7
  Keywords: orange3 add-on
8
+ Provides-Extra: cuda
8
9
  License-File: License.txt
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: io4it
3
- Version: 0.0.0.9
3
+ Version: 0.0.0.11
4
4
  Home-page:
5
5
  Author:
6
6
  Author-email:
7
7
  Keywords: orange3 add-on
8
+ Provides-Extra: cuda
8
9
  License-File: License.txt
@@ -8,3 +8,8 @@ pyannote.audio
8
8
  pyannote.core
9
9
  wave
10
10
  scikit-learn
11
+
12
+ [cuda]
13
+ torch
14
+ torchvision
15
+ torchaudio
@@ -1,10 +1,12 @@
1
1
  from setuptools import setup, find_packages
2
+ import platform
3
+ import warnings
2
4
 
3
5
  # Nom du package PyPI ('pip install NAME')
4
6
  NAME = "io4it"
5
7
 
6
8
  # Version du package PyPI
7
- VERSION = "0.0.0.9" # la version doit être supérieure à la précédente sinon la publication sera refusée
9
+ VERSION = "0.0.0.11" # la version doit être supérieure à la précédente sinon la publication sera refusée
8
10
 
9
11
  # Facultatif / Adaptable à souhait
10
12
  AUTHOR = ""
@@ -33,6 +35,16 @@ PACKAGE_DATA = {
33
35
  # Dépendances
34
36
  INSTALL_REQUIRES = ["boto3", "docling", "docling-core", "speechbrain", "whisper", "whisper-openai", "pyannote.audio", "pyannote.core", "wave", "scikit-learn"]
35
37
 
38
+
39
+
40
+ # Extras optionnels pour CUDA
41
+ EXTRAS_REQUIRE = {
42
+ "cuda": [
43
+ "torch",
44
+ "torchvision",
45
+ "torchaudio"
46
+ ]
47
+ }
36
48
  # Spécifie le dossier contenant les widgets et le nom de section qu'aura l'addon sur Orange
37
49
  ENTRY_POINTS = {
38
50
  "orange.widgets": (
@@ -43,17 +55,31 @@ ENTRY_POINTS = {
43
55
 
44
56
  NAMESPACE_PACKAGES = ["orangecontrib"]
45
57
 
46
- setup(name=NAME,
47
- version=VERSION,
48
- author=AUTHOR,
49
- author_email=AUTHOR_EMAIL,
50
- url=URL,
51
- description=DESCRIPTION,
52
- license=LICENSE,
53
- keywords=KEYWORDS,
54
- packages=PACKAGES,
55
- package_data=PACKAGE_DATA,
56
- install_requires=INSTALL_REQUIRES,
57
- entry_points=ENTRY_POINTS,
58
- namespace_packages=NAMESPACE_PACKAGES,
59
- )
58
+
59
+
60
+ # Message informatif si on est sous Windows
61
+ if platform.system() == "Windows":
62
+ warnings.warn(
63
+ "Vous êtes sur Windows. Si vous avez une carte NVIDIA CUDA, installez avec :\n"
64
+ " pip install io4it[cuda] --extra-index-url https://download.pytorch.org/whl/cu126",
65
+ UserWarning
66
+ )
67
+
68
+
69
+ setup(
70
+ name=NAME,
71
+ version=VERSION,
72
+ author=AUTHOR,
73
+ author_email=AUTHOR_EMAIL,
74
+ url=URL,
75
+ description=DESCRIPTION,
76
+ license=LICENSE,
77
+ keywords=KEYWORDS,
78
+ packages=PACKAGES,
79
+ package_data=PACKAGE_DATA,
80
+ install_requires=INSTALL_REQUIRES,
81
+ extras_require=EXTRAS_REQUIRE,
82
+ entry_points=ENTRY_POINTS,
83
+ namespace_packages=NAMESPACE_PACKAGES,
84
+ )
85
+
File without changes
File without changes