OpenImageIO 3.2.1.3__cp315-cp315-win_amd64.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.
Files changed (60) hide show
  1. OpenImageIO/OpenImageIO.cp315-win_amd64.pyd +0 -0
  2. OpenImageIO/__init__.py +50 -0
  3. OpenImageIO/__init__.pyi +1650 -0
  4. OpenImageIO/bin/GIF.dll +0 -0
  5. OpenImageIO/bin/Iex_v_3_5_0_OpenImageIO_v3_2.dll +0 -0
  6. OpenImageIO/bin/IlmThread_v_3_5_0_OpenImageIO_v3_2.dll +0 -0
  7. OpenImageIO/bin/Imath_v_3_2_3_OpenImageIO_v3_2.dll +0 -0
  8. OpenImageIO/bin/OpenEXRCore_v_3_5_0_OpenImageIO_v3_2.dll +0 -0
  9. OpenImageIO/bin/OpenEXRUtil_v_3_5_0_OpenImageIO_v3_2.dll +0 -0
  10. OpenImageIO/bin/OpenEXR_v_3_5_0_OpenImageIO_v3_2.dll +0 -0
  11. OpenImageIO/bin/OpenImageIO.dll +0 -0
  12. OpenImageIO/bin/OpenImageIO_Util.dll +0 -0
  13. OpenImageIO/bin/brotlicommon.dll +0 -0
  14. OpenImageIO/bin/brotlidec.dll +0 -0
  15. OpenImageIO/bin/brotlienc.dll +0 -0
  16. OpenImageIO/bin/freetype.dll +0 -0
  17. OpenImageIO/bin/idiff.exe +0 -0
  18. OpenImageIO/bin/jxl.dll +0 -0
  19. OpenImageIO/bin/jxl_cms.dll +0 -0
  20. OpenImageIO/bin/jxl_threads.dll +0 -0
  21. OpenImageIO/bin/maketx.exe +0 -0
  22. OpenImageIO/bin/oiiotool.exe +0 -0
  23. OpenImageIO/bin/openjp2.dll +0 -0
  24. OpenImageIO/bin/openjph.0.32.dll +0 -0
  25. OpenImageIO/bin/tiff.dll +0 -0
  26. OpenImageIO/bin/zlib1.dll +0 -0
  27. OpenImageIO/lib/GIF.lib +0 -0
  28. OpenImageIO/lib/Iex_v_3_5_0_OpenImageIO_v3_2.lib +0 -0
  29. OpenImageIO/lib/IlmThread_v_3_5_0_OpenImageIO_v3_2.lib +0 -0
  30. OpenImageIO/lib/Imath_v_3_2_3_OpenImageIO_v3_2.lib +0 -0
  31. OpenImageIO/lib/OpenEXRCore_v_3_5_0_OpenImageIO_v3_2.lib +0 -0
  32. OpenImageIO/lib/OpenEXRUtil_v_3_5_0_OpenImageIO_v3_2.lib +0 -0
  33. OpenImageIO/lib/OpenEXR_v_3_5_0_OpenImageIO_v3_2.lib +0 -0
  34. OpenImageIO/lib/brotlicommon.lib +0 -0
  35. OpenImageIO/lib/brotlidec.lib +0 -0
  36. OpenImageIO/lib/brotlienc.lib +0 -0
  37. OpenImageIO/lib/freetype.lib +0 -0
  38. OpenImageIO/lib/jxl.lib +0 -0
  39. OpenImageIO/lib/jxl_cms.lib +0 -0
  40. OpenImageIO/lib/jxl_threads.lib +0 -0
  41. OpenImageIO/lib/openjp2.lib +0 -0
  42. OpenImageIO/lib/openjph.0.32.lib +0 -0
  43. OpenImageIO/lib/tiff.lib +0 -0
  44. OpenImageIO/lib/tiffxx.lib +0 -0
  45. OpenImageIO/lib/zlib.lib +0 -0
  46. OpenImageIO/lib/zlibstatic.lib +0 -0
  47. OpenImageIO/py.typed +0 -0
  48. OpenImageIO/share/fonts/OpenImageIO/DroidSans-Bold.ttf +0 -0
  49. OpenImageIO/share/fonts/OpenImageIO/DroidSans.ttf +0 -0
  50. OpenImageIO/share/fonts/OpenImageIO/DroidSansMono.ttf +0 -0
  51. OpenImageIO/share/fonts/OpenImageIO/DroidSerif-Bold.ttf +0 -0
  52. OpenImageIO/share/fonts/OpenImageIO/DroidSerif-BoldItalic.ttf +0 -0
  53. OpenImageIO/share/fonts/OpenImageIO/DroidSerif-Italic.ttf +0 -0
  54. OpenImageIO/share/fonts/OpenImageIO/DroidSerif.ttf +0 -0
  55. openimageio-3.2.1.3.dist-info/METADATA +209 -0
  56. openimageio-3.2.1.3.dist-info/RECORD +60 -0
  57. openimageio-3.2.1.3.dist-info/WHEEL +5 -0
  58. openimageio-3.2.1.3.dist-info/entry_points.txt +5 -0
  59. openimageio-3.2.1.3.dist-info/licenses/LICENSE.md +201 -0
  60. openimageio-3.2.1.3.dist-info/licenses/THIRD-PARTY.md +310 -0
@@ -0,0 +1,50 @@
1
+ # Copyright Contributors to the OpenImageIO project.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ # https://github.com/AcademySoftwareFoundation/OpenImageIO
4
+
5
+ import os
6
+ import sys
7
+ import platform
8
+ import subprocess
9
+
10
+ _here = os.path.abspath(os.path.dirname(__file__))
11
+
12
+ # Set $OpenImageIO_ROOT if not already set *before* importing the OpenImageIO module.
13
+ if not os.getenv("OpenImageIO_ROOT"):
14
+ if all([os.path.exists(os.path.join(_here, i)) for i in ["share", "bin", "lib"]]):
15
+ os.environ["OpenImageIO_ROOT"] = _here
16
+
17
+ if platform.system() == "Windows":
18
+ # Python wheel module is dynamically linked to the OIIO DLL present in the bin folder.
19
+ _bin_dir = os.path.join(_here, "bin")
20
+ if os.path.exists(_bin_dir):
21
+ os.add_dll_directory(_bin_dir)
22
+ elif sys.version_info >= (3, 8):
23
+ # This works around the python 3.8 change to stop loading DLLs from PATH on Windows.
24
+ # We reproduce the old behavior by manually tokenizing PATH, checking that the
25
+ # directories exist and are not ".", then add them to the DLL load path.
26
+ # This behavior is disabled by default, but can be enabled by setting the environment
27
+ # variable "OPENIMAGEIO_PYTHON_LOAD_DLLS_FROM_PATH" to "1"
28
+ if os.getenv("OPENIMAGEIO_PYTHON_LOAD_DLLS_FROM_PATH", "0") == "1":
29
+ for path in os.getenv("PATH", "").split(os.pathsep):
30
+ if os.path.exists(path) and path != ".":
31
+ os.add_dll_directory(path)
32
+
33
+ from .OpenImageIO import * # type: ignore # noqa: F401, F403, E402
34
+
35
+ __doc__ = """
36
+ OpenImageIO is a toolset for reading, writing, and manipulating image files of
37
+ any image file format relevant to VFX / animation via a format-agnostic API
38
+ with a feature set, scalability, and robustness needed for feature film
39
+ production.
40
+ """[1:-1]
41
+
42
+ __version__ = VERSION_STRING # type: ignore # noqa: F405
43
+
44
+ def _call_program(name, args):
45
+ bin_dir = os.path.join(os.path.dirname(__file__), 'bin')
46
+ return subprocess.call([os.path.join(bin_dir, name)] + args)
47
+
48
+ def _command_line():
49
+ name = os.path.basename(sys.argv[0])
50
+ raise SystemExit(_call_program(name, sys.argv[1:]))