io4it 0.0.0.9__tar.gz → 0.0.0.10__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.
- {io4it-0.0.0.9 → io4it-0.0.0.10}/PKG-INFO +2 -1
- {io4it-0.0.0.9 → io4it-0.0.0.10}/io4it.egg-info/PKG-INFO +2 -1
- {io4it-0.0.0.9 → io4it-0.0.0.10}/io4it.egg-info/requires.txt +5 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/setup.py +39 -15
- {io4it-0.0.0.9 → io4it-0.0.0.10}/License.txt +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/io4it.egg-info/SOURCES.txt +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/io4it.egg-info/dependency_links.txt +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/io4it.egg-info/entry_points.txt +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/io4it.egg-info/namespace_packages.txt +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/io4it.egg-info/top_level.txt +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/__init__.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/ocr_function/__init__.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/ocr_function/word_converter.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/OWMarkdownizer.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/OWPathPropagator.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/OWS3Uploader.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/OWS3downloader.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/OWS3list.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/OWSpeechToText.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/OWwordpdf2docx.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/__init__.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/designer/ow_in_or_out_path.ui +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/designer/owspeechtotext.ui +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/designer/wordpdf2docx.ui +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/category.svg +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/download.png +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/in_or_out.png +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/list_aws.png +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/md.png +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/speech_to_text.png +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/upload.png +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/IO4IT/widgets/icons/wordpdf2docx.png +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/orangecontrib/__init__.py +0 -0
- {io4it-0.0.0.9 → io4it-0.0.0.10}/setup.cfg +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
|
+
import platform
|
|
3
|
+
|
|
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
|
+
VERSION = "0.0.0.10" # 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,29 @@ ENTRY_POINTS = {
|
|
|
43
55
|
|
|
44
56
|
NAMESPACE_PACKAGES = ["orangecontrib"]
|
|
45
57
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
# Message informatif si on est sous Windows
|
|
61
|
+
if platform.system() == "Windows":
|
|
62
|
+
print(" Vous êtes sur Windows. Si vous avez une carte NVIDIA CUDA, vous pouvez installer les dépendances optimisées avec :")
|
|
63
|
+
print(" pip install io4it[cuda] --extra-index-url https://download.pytorch.org/whl/cu126")
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
setup(
|
|
68
|
+
name=NAME,
|
|
69
|
+
version=VERSION,
|
|
70
|
+
author=AUTHOR,
|
|
71
|
+
author_email=AUTHOR_EMAIL,
|
|
72
|
+
url=URL,
|
|
73
|
+
description=DESCRIPTION,
|
|
74
|
+
license=LICENSE,
|
|
75
|
+
keywords=KEYWORDS,
|
|
76
|
+
packages=PACKAGES,
|
|
77
|
+
package_data=PACKAGE_DATA,
|
|
78
|
+
install_requires=INSTALL_REQUIRES,
|
|
79
|
+
extras_require=EXTRAS_REQUIRE,
|
|
80
|
+
entry_points=ENTRY_POINTS,
|
|
81
|
+
namespace_packages=NAMESPACE_PACKAGES,
|
|
82
|
+
)
|
|
83
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|