ZTWHHH commited on
Commit
29ed2ea
·
verified ·
1 Parent(s): a983685

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_copy_from_and_resize_ops.h +39 -0
  3. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_dirichlet_grad_cuda_dispatch.h +23 -0
  4. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_has_compatible_shallow_copy_type_native.h +21 -0
  5. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_prelu_kernel_backward_cuda_dispatch.h +23 -0
  6. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/col_indices_compositeexplicitautograd_dispatch.h +23 -0
  7. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/conv_tbc_backward_native.h +21 -0
  8. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/erfinv.h +39 -0
  9. videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/gru_cell_compositeimplicitautograd_dispatch.h +23 -0
  10. vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/LICENSE +1343 -0
  11. vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/METADATA +175 -0
  12. vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/RECORD +230 -0
  13. vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/WHEEL +5 -0
  14. vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/top_level.txt +1 -0
  15. vllm/lib/python3.10/site-packages/torio/lib/_torio_ffmpeg6.so +3 -0
  16. vllm/lib/python3.10/site-packages/virtualenv/__init__.py +10 -0
  17. vllm/lib/python3.10/site-packages/virtualenv/__main__.py +73 -0
  18. vllm/lib/python3.10/site-packages/virtualenv/app_data/__init__.py +58 -0
  19. vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/__init__.cpython-310.pyc +0 -0
  20. vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/base.cpython-310.pyc +0 -0
  21. vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/na.cpython-310.pyc +0 -0
  22. vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/read_only.cpython-310.pyc +0 -0
  23. vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/via_disk_folder.cpython-310.pyc +0 -0
  24. vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/via_tempdir.cpython-310.pyc +0 -0
  25. vllm/lib/python3.10/site-packages/virtualenv/app_data/base.py +96 -0
  26. vllm/lib/python3.10/site-packages/virtualenv/app_data/na.py +72 -0
  27. vllm/lib/python3.10/site-packages/virtualenv/app_data/read_only.py +42 -0
  28. vllm/lib/python3.10/site-packages/virtualenv/app_data/via_disk_folder.py +176 -0
  29. vllm/lib/python3.10/site-packages/virtualenv/app_data/via_tempdir.py +34 -0
  30. vllm/lib/python3.10/site-packages/virtualenv/config/__init__.py +0 -0
  31. vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/__init__.cpython-310.pyc +0 -0
  32. vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/convert.cpython-310.pyc +0 -0
  33. vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/env_var.cpython-310.pyc +0 -0
  34. vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/ini.cpython-310.pyc +0 -0
  35. vllm/lib/python3.10/site-packages/virtualenv/config/cli/__init__.py +0 -0
  36. vllm/lib/python3.10/site-packages/virtualenv/config/cli/__pycache__/__init__.cpython-310.pyc +0 -0
  37. vllm/lib/python3.10/site-packages/virtualenv/config/cli/__pycache__/parser.cpython-310.pyc +0 -0
  38. vllm/lib/python3.10/site-packages/virtualenv/config/cli/parser.py +126 -0
  39. vllm/lib/python3.10/site-packages/virtualenv/config/convert.py +102 -0
  40. vllm/lib/python3.10/site-packages/virtualenv/config/env_var.py +30 -0
  41. vllm/lib/python3.10/site-packages/virtualenv/config/ini.py +77 -0
  42. vllm/lib/python3.10/site-packages/virtualenv/create/__pycache__/creator.cpython-310.pyc +0 -0
  43. vllm/lib/python3.10/site-packages/virtualenv/create/__pycache__/pyenv_cfg.cpython-310.pyc +0 -0
  44. vllm/lib/python3.10/site-packages/virtualenv/info.py +66 -0
  45. vllm/lib/python3.10/site-packages/virtualenv/report.py +50 -0
  46. vllm/lib/python3.10/site-packages/virtualenv/seed/__init__.py +0 -0
  47. vllm/lib/python3.10/site-packages/virtualenv/seed/embed/__init__.py +0 -0
  48. vllm/lib/python3.10/site-packages/virtualenv/seed/embed/base_embed.py +118 -0
  49. vllm/lib/python3.10/site-packages/virtualenv/seed/embed/pip_invoke.py +65 -0
  50. vllm/lib/python3.10/site-packages/virtualenv/seed/embed/via_app_data/pip_install/__init__.py +0 -0
.gitattributes CHANGED
@@ -1576,3 +1576,4 @@ parrot/lib/python3.10/site-packages/scipy/cluster/__pycache__/hierarchy.cpython-
1576
  parrot/lib/python3.10/site-packages/scipy/stats/__pycache__/_distn_infrastructure.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
1577
  vllm/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
1578
  vllm/lib/python3.10/site-packages/pydantic_core/_pydantic_core.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
 
 
1576
  parrot/lib/python3.10/site-packages/scipy/stats/__pycache__/_distn_infrastructure.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
1577
  vllm/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
1578
  vllm/lib/python3.10/site-packages/pydantic_core/_pydantic_core.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
1579
+ vllm/lib/python3.10/site-packages/torio/lib/_torio_ffmpeg6.so filter=lfs diff=lfs merge=lfs -text
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_copy_from_and_resize_ops.h ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+
3
+ // @generated by torchgen/gen.py from Operator.h
4
+
5
+ #include <tuple>
6
+ #include <vector>
7
+
8
+ // Forward declarations of any types needed in the operator signatures.
9
+ // We can't directly include these classes because it will cause circular include dependencies.
10
+ // This file is included by TensorBody.h, which defines the Tensor class.
11
+ #include <ATen/core/ATen_fwd.h>
12
+
13
+ namespace at {
14
+ namespace _ops {
15
+
16
+
17
+ struct TORCH_API _copy_from_and_resize {
18
+ using schema = at::Tensor (const at::Tensor &, const at::Tensor &);
19
+ using ptr_schema = schema*;
20
+ // See Note [static constexpr char* members for windows NVCC]
21
+ STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_copy_from_and_resize")
22
+ STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "")
23
+ STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_copy_from_and_resize(Tensor self, Tensor dst) -> Tensor")
24
+ static at::Tensor call(const at::Tensor & self, const at::Tensor & dst);
25
+ static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & dst);
26
+ };
27
+
28
+ struct TORCH_API _copy_from_and_resize_out {
29
+ using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, at::Tensor &);
30
+ using ptr_schema = schema*;
31
+ // See Note [static constexpr char* members for windows NVCC]
32
+ STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_copy_from_and_resize")
33
+ STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out")
34
+ STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_copy_from_and_resize.out(Tensor self, Tensor dst, *, Tensor(a!) out) -> Tensor(a!)")
35
+ static at::Tensor & call(const at::Tensor & self, const at::Tensor & dst, at::Tensor & out);
36
+ static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & dst, at::Tensor & out);
37
+ };
38
+
39
+ }} // namespace at::_ops
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_dirichlet_grad_cuda_dispatch.h ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
3
+
4
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
5
+
6
+ // The only #includes we need are for custom classes that have defaults in the C++ API
7
+ #include <c10/core/MemoryFormat.h>
8
+ #include <c10/core/Scalar.h>
9
+ #include <ATen/core/Reduction.h>
10
+
11
+ // Forward declarations of any types needed in the operator signatures.
12
+ // We can't directly include these classes because it will cause circular include dependencies.
13
+ // This file is included by TensorBody.h, which defines the Tensor class.
14
+ #include <ATen/core/ATen_fwd.h>
15
+
16
+ namespace at {
17
+
18
+ namespace cuda {
19
+
20
+ TORCH_API at::Tensor _dirichlet_grad(const at::Tensor & x, const at::Tensor & alpha, const at::Tensor & total);
21
+
22
+ } // namespace cuda
23
+ } // namespace at
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_has_compatible_shallow_copy_type_native.h ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+
3
+ // @generated by torchgen/gen.py from NativeFunction.h
4
+
5
+ #include <c10/core/Scalar.h>
6
+ #include <c10/core/Storage.h>
7
+ #include <c10/core/TensorOptions.h>
8
+ #include <c10/util/Deprecated.h>
9
+ #include <c10/util/Optional.h>
10
+ #include <c10/core/QScheme.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <tuple>
14
+ #include <vector>
15
+
16
+
17
+ namespace at {
18
+ namespace native {
19
+ TORCH_API bool _has_compatible_shallow_copy_type(const at::Tensor & self, const at::Tensor & from);
20
+ } // namespace native
21
+ } // namespace at
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/_prelu_kernel_backward_cuda_dispatch.h ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
3
+
4
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
5
+
6
+ // The only #includes we need are for custom classes that have defaults in the C++ API
7
+ #include <c10/core/MemoryFormat.h>
8
+ #include <c10/core/Scalar.h>
9
+ #include <ATen/core/Reduction.h>
10
+
11
+ // Forward declarations of any types needed in the operator signatures.
12
+ // We can't directly include these classes because it will cause circular include dependencies.
13
+ // This file is included by TensorBody.h, which defines the Tensor class.
14
+ #include <ATen/core/ATen_fwd.h>
15
+
16
+ namespace at {
17
+
18
+ namespace cuda {
19
+
20
+ TORCH_API ::std::tuple<at::Tensor,at::Tensor> _prelu_kernel_backward(const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & weight);
21
+
22
+ } // namespace cuda
23
+ } // namespace at
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/col_indices_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
3
+
4
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
5
+
6
+ // The only #includes we need are for custom classes that have defaults in the C++ API
7
+ #include <c10/core/MemoryFormat.h>
8
+ #include <c10/core/Scalar.h>
9
+ #include <ATen/core/Reduction.h>
10
+
11
+ // Forward declarations of any types needed in the operator signatures.
12
+ // We can't directly include these classes because it will cause circular include dependencies.
13
+ // This file is included by TensorBody.h, which defines the Tensor class.
14
+ #include <ATen/core/ATen_fwd.h>
15
+
16
+ namespace at {
17
+
18
+ namespace compositeexplicitautograd {
19
+
20
+ TORCH_API at::Tensor col_indices(const at::Tensor & self);
21
+
22
+ } // namespace compositeexplicitautograd
23
+ } // namespace at
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/conv_tbc_backward_native.h ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+
3
+ // @generated by torchgen/gen.py from NativeFunction.h
4
+
5
+ #include <c10/core/Scalar.h>
6
+ #include <c10/core/Storage.h>
7
+ #include <c10/core/TensorOptions.h>
8
+ #include <c10/util/Deprecated.h>
9
+ #include <c10/util/Optional.h>
10
+ #include <c10/core/QScheme.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <tuple>
14
+ #include <vector>
15
+
16
+
17
+ namespace at {
18
+ namespace native {
19
+ TORCH_API ::std::tuple<at::Tensor,at::Tensor,at::Tensor> conv_tbc_backward(const at::Tensor & self, const at::Tensor & input, const at::Tensor & weight, const at::Tensor & bias, int64_t pad);
20
+ } // namespace native
21
+ } // namespace at
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/erfinv.h ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+
3
+ // @generated by torchgen/gen.py from Function.h
4
+
5
+ #include <ATen/Context.h>
6
+ #include <ATen/DeviceGuard.h>
7
+ #include <ATen/TensorUtils.h>
8
+ #include <ATen/TracerMode.h>
9
+ #include <ATen/core/Generator.h>
10
+ #include <ATen/core/Reduction.h>
11
+ #include <ATen/core/Tensor.h>
12
+ #include <c10/core/Scalar.h>
13
+ #include <c10/core/Storage.h>
14
+ #include <c10/core/TensorOptions.h>
15
+ #include <c10/util/Deprecated.h>
16
+ #include <c10/util/Optional.h>
17
+
18
+
19
+
20
+ #include <ATen/ops/erfinv_ops.h>
21
+
22
+ namespace at {
23
+
24
+
25
+ // aten::erfinv(Tensor self) -> Tensor
26
+ inline at::Tensor erfinv(const at::Tensor & self) {
27
+ return at::_ops::erfinv::call(self);
28
+ }
29
+
30
+ // aten::erfinv.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
31
+ inline at::Tensor & erfinv_out(at::Tensor & out, const at::Tensor & self) {
32
+ return at::_ops::erfinv_out::call(self, out);
33
+ }
34
+ // aten::erfinv.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
35
+ inline at::Tensor & erfinv_outf(const at::Tensor & self, at::Tensor & out) {
36
+ return at::_ops::erfinv_out::call(self, out);
37
+ }
38
+
39
+ }
videollama2/lib/python3.10/site-packages/torch/include/ATen/ops/gru_cell_compositeimplicitautograd_dispatch.h ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pragma once
2
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
3
+
4
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
5
+
6
+ // The only #includes we need are for custom classes that have defaults in the C++ API
7
+ #include <c10/core/MemoryFormat.h>
8
+ #include <c10/core/Scalar.h>
9
+ #include <ATen/core/Reduction.h>
10
+
11
+ // Forward declarations of any types needed in the operator signatures.
12
+ // We can't directly include these classes because it will cause circular include dependencies.
13
+ // This file is included by TensorBody.h, which defines the Tensor class.
14
+ #include <ATen/core/ATen_fwd.h>
15
+
16
+ namespace at {
17
+
18
+ namespace compositeimplicitautograd {
19
+
20
+ TORCH_API at::Tensor gru_cell(const at::Tensor & input, const at::Tensor & hx, const at::Tensor & w_ih, const at::Tensor & w_hh, const c10::optional<at::Tensor> & b_ih={}, const c10::optional<at::Tensor> & b_hh={});
21
+
22
+ } // namespace compositeimplicitautograd
23
+ } // namespace at
vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/LICENSE ADDED
@@ -0,0 +1,1343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The Python Imaging Library (PIL) is
2
+
3
+ Copyright © 1997-2011 by Secret Labs AB
4
+ Copyright © 1995-2011 by Fredrik Lundh and contributors
5
+
6
+ Pillow is the friendly PIL fork. It is
7
+
8
+ Copyright © 2010-2024 by Jeffrey A. Clark and contributors
9
+
10
+ Like PIL, Pillow is licensed under the open source HPND License:
11
+
12
+ By obtaining, using, and/or copying this software and/or its associated
13
+ documentation, you agree that you have read, understood, and will comply
14
+ with the following terms and conditions:
15
+
16
+ Permission to use, copy, modify and distribute this software and its
17
+ documentation for any purpose and without fee is hereby granted,
18
+ provided that the above copyright notice appears in all copies, and that
19
+ both that copyright notice and this permission notice appear in supporting
20
+ documentation, and that the name of Secret Labs AB or the author not be
21
+ used in advertising or publicity pertaining to distribution of the software
22
+ without specific, written prior permission.
23
+
24
+ SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
25
+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
26
+ IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL,
27
+ INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
28
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
29
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
30
+ PERFORMANCE OF THIS SOFTWARE.
31
+
32
+
33
+ ----
34
+
35
+ BROTLI
36
+
37
+ Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
38
+
39
+ Permission is hereby granted, free of charge, to any person obtaining a copy
40
+ of this software and associated documentation files (the "Software"), to deal
41
+ in the Software without restriction, including without limitation the rights
42
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
+ copies of the Software, and to permit persons to whom the Software is
44
+ furnished to do so, subject to the following conditions:
45
+
46
+ The above copyright notice and this permission notice shall be included in
47
+ all copies or substantial portions of the Software.
48
+
49
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
55
+ THE SOFTWARE.
56
+
57
+
58
+ ----
59
+
60
+ BZIP2
61
+
62
+
63
+ --------------------------------------------------------------------------
64
+
65
+ This program, "bzip2", the associated library "libbzip2", and all
66
+ documentation, are copyright (C) 1996-2019 Julian R Seward. All
67
+ rights reserved.
68
+
69
+ Redistribution and use in source and binary forms, with or without
70
+ modification, are permitted provided that the following conditions
71
+ are met:
72
+
73
+ 1. Redistributions of source code must retain the above copyright
74
+ notice, this list of conditions and the following disclaimer.
75
+
76
+ 2. The origin of this software must not be misrepresented; you must
77
+ not claim that you wrote the original software. If you use this
78
+ software in a product, an acknowledgment in the product
79
+ documentation would be appreciated but is not required.
80
+
81
+ 3. Altered source versions must be plainly marked as such, and must
82
+ not be misrepresented as being the original software.
83
+
84
+ 4. The name of the author may not be used to endorse or promote
85
+ products derived from this software without specific prior written
86
+ permission.
87
+
88
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
89
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
90
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
91
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
92
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
93
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
94
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
95
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
96
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
97
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
98
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
99
+
100
+ Julian Seward, jseward@acm.org
101
+ bzip2/libbzip2 version 1.0.8 of 13 July 2019
102
+
103
+ --------------------------------------------------------------------------
104
+
105
+
106
+ ----
107
+
108
+ FREETYPE2
109
+
110
+ The FreeType 2 font engine is copyrighted work and cannot be used
111
+ legally without a software license. In order to make this project
112
+ usable to a vast majority of developers, we distribute it under two
113
+ mutually exclusive open-source licenses.
114
+
115
+ This means that *you* must choose *one* of the two licenses described
116
+ below, then obey all its terms and conditions when using FreeType 2 in
117
+ any of your projects or products.
118
+
119
+ - The FreeType License, found in the file `docs/FTL.TXT`, which is
120
+ similar to the original BSD license *with* an advertising clause
121
+ that forces you to explicitly cite the FreeType project in your
122
+ product's documentation. All details are in the license file.
123
+ This license is suited to products which don't use the GNU General
124
+ Public License.
125
+
126
+ Note that this license is compatible to the GNU General Public
127
+ License version 3, but not version 2.
128
+
129
+ - The GNU General Public License version 2, found in
130
+ `docs/GPLv2.TXT` (any later version can be used also), for
131
+ programs which already use the GPL. Note that the FTL is
132
+ incompatible with GPLv2 due to its advertisement clause.
133
+
134
+ The contributed BDF and PCF drivers come with a license similar to
135
+ that of the X Window System. It is compatible to the above two
136
+ licenses (see files `src/bdf/README` and `src/pcf/README`). The same
137
+ holds for the source code files `src/base/fthash.c` and
138
+ `include/freetype/internal/fthash.h`; they were part of the BDF driver
139
+ in earlier FreeType versions.
140
+
141
+ The gzip module uses the zlib license (see `src/gzip/zlib.h`) which
142
+ too is compatible to the above two licenses.
143
+
144
+ The files `src/autofit/ft-hb.c` and `src/autofit/ft-hb.h` contain code
145
+ taken almost verbatim from the HarfBuzz file `hb-ft.cc`, which uses
146
+ the 'Old MIT' license, compatible to the above two licenses.
147
+
148
+ The MD5 checksum support (only used for debugging in development
149
+ builds) is in the public domain.
150
+
151
+ --------------------------------------------------------------------------
152
+
153
+ The FreeType Project LICENSE
154
+ ----------------------------
155
+
156
+ 2006-Jan-27
157
+
158
+ Copyright 1996-2002, 2006 by
159
+ David Turner, Robert Wilhelm, and Werner Lemberg
160
+
161
+
162
+
163
+ Introduction
164
+ ============
165
+
166
+ The FreeType Project is distributed in several archive packages;
167
+ some of them may contain, in addition to the FreeType font engine,
168
+ various tools and contributions which rely on, or relate to, the
169
+ FreeType Project.
170
+
171
+ This license applies to all files found in such packages, and
172
+ which do not fall under their own explicit license. The license
173
+ affects thus the FreeType font engine, the test programs,
174
+ documentation and makefiles, at the very least.
175
+
176
+ This license was inspired by the BSD, Artistic, and IJG
177
+ (Independent JPEG Group) licenses, which all encourage inclusion
178
+ and use of free software in commercial and freeware products
179
+ alike. As a consequence, its main points are that:
180
+
181
+ o We don't promise that this software works. However, we will be
182
+ interested in any kind of bug reports. (`as is' distribution)
183
+
184
+ o You can use this software for whatever you want, in parts or
185
+ full form, without having to pay us. (`royalty-free' usage)
186
+
187
+ o You may not pretend that you wrote this software. If you use
188
+ it, or only parts of it, in a program, you must acknowledge
189
+ somewhere in your documentation that you have used the
190
+ FreeType code. (`credits')
191
+
192
+ We specifically permit and encourage the inclusion of this
193
+ software, with or without modifications, in commercial products.
194
+ We disclaim all warranties covering The FreeType Project and
195
+ assume no liability related to The FreeType Project.
196
+
197
+
198
+ Finally, many people asked us for a preferred form for a
199
+ credit/disclaimer to use in compliance with this license. We thus
200
+ encourage you to use the following text:
201
+
202
+ """
203
+ Portions of this software are copyright © <year> The FreeType
204
+ Project (www.freetype.org). All rights reserved.
205
+ """
206
+
207
+ Please replace <year> with the value from the FreeType version you
208
+ actually use.
209
+
210
+
211
+ Legal Terms
212
+ ===========
213
+
214
+ 0. Definitions
215
+ --------------
216
+
217
+ Throughout this license, the terms `package', `FreeType Project',
218
+ and `FreeType archive' refer to the set of files originally
219
+ distributed by the authors (David Turner, Robert Wilhelm, and
220
+ Werner Lemberg) as the `FreeType Project', be they named as alpha,
221
+ beta or final release.
222
+
223
+ `You' refers to the licensee, or person using the project, where
224
+ `using' is a generic term including compiling the project's source
225
+ code as well as linking it to form a `program' or `executable'.
226
+ This program is referred to as `a program using the FreeType
227
+ engine'.
228
+
229
+ This license applies to all files distributed in the original
230
+ FreeType Project, including all source code, binaries and
231
+ documentation, unless otherwise stated in the file in its
232
+ original, unmodified form as distributed in the original archive.
233
+ If you are unsure whether or not a particular file is covered by
234
+ this license, you must contact us to verify this.
235
+
236
+ The FreeType Project is copyright (C) 1996-2000 by David Turner,
237
+ Robert Wilhelm, and Werner Lemberg. All rights reserved except as
238
+ specified below.
239
+
240
+ 1. No Warranty
241
+ --------------
242
+
243
+ THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
244
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
245
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
246
+ PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
247
+ BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
248
+ USE, OF THE FREETYPE PROJECT.
249
+
250
+ 2. Redistribution
251
+ -----------------
252
+
253
+ This license grants a worldwide, royalty-free, perpetual and
254
+ irrevocable right and license to use, execute, perform, compile,
255
+ display, copy, create derivative works of, distribute and
256
+ sublicense the FreeType Project (in both source and object code
257
+ forms) and derivative works thereof for any purpose; and to
258
+ authorize others to exercise some or all of the rights granted
259
+ herein, subject to the following conditions:
260
+
261
+ o Redistribution of source code must retain this license file
262
+ (`FTL.TXT') unaltered; any additions, deletions or changes to
263
+ the original files must be clearly indicated in accompanying
264
+ documentation. The copyright notices of the unaltered,
265
+ original files must be preserved in all copies of source
266
+ files.
267
+
268
+ o Redistribution in binary form must provide a disclaimer that
269
+ states that the software is based in part of the work of the
270
+ FreeType Team, in the distribution documentation. We also
271
+ encourage you to put an URL to the FreeType web page in your
272
+ documentation, though this isn't mandatory.
273
+
274
+ These conditions apply to any software derived from or based on
275
+ the FreeType Project, not just the unmodified files. If you use
276
+ our work, you must acknowledge us. However, no fee need be paid
277
+ to us.
278
+
279
+ 3. Advertising
280
+ --------------
281
+
282
+ Neither the FreeType authors and contributors nor you shall use
283
+ the name of the other for commercial, advertising, or promotional
284
+ purposes without specific prior written permission.
285
+
286
+ We suggest, but do not require, that you use one or more of the
287
+ following phrases to refer to this software in your documentation
288
+ or advertising materials: `FreeType Project', `FreeType Engine',
289
+ `FreeType library', or `FreeType Distribution'.
290
+
291
+ As you have not signed this license, you are not required to
292
+ accept it. However, as the FreeType Project is copyrighted
293
+ material, only this license, or another one contracted with the
294
+ authors, grants you the right to use, distribute, and modify it.
295
+ Therefore, by using, distributing, or modifying the FreeType
296
+ Project, you indicate that you understand and accept all the terms
297
+ of this license.
298
+
299
+ 4. Contacts
300
+ -----------
301
+
302
+ There are two mailing lists related to FreeType:
303
+
304
+ o freetype@nongnu.org
305
+
306
+ Discusses general use and applications of FreeType, as well as
307
+ future and wanted additions to the library and distribution.
308
+ If you are looking for support, start in this list if you
309
+ haven't found anything to help you in the documentation.
310
+
311
+ o freetype-devel@nongnu.org
312
+
313
+ Discusses bugs, as well as engine internals, design issues,
314
+ specific licenses, porting, etc.
315
+
316
+ Our home page can be found at
317
+
318
+ https://www.freetype.org
319
+
320
+
321
+ --- end of FTL.TXT ---
322
+
323
+ --------------------------------------------------------------------------
324
+
325
+ GNU GENERAL PUBLIC LICENSE
326
+ Version 2, June 1991
327
+
328
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
329
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
330
+ Everyone is permitted to copy and distribute verbatim copies
331
+ of this license document, but changing it is not allowed.
332
+
333
+ Preamble
334
+
335
+ The licenses for most software are designed to take away your
336
+ freedom to share and change it. By contrast, the GNU General Public
337
+ License is intended to guarantee your freedom to share and change free
338
+ software--to make sure the software is free for all its users. This
339
+ General Public License applies to most of the Free Software
340
+ Foundation's software and to any other program whose authors commit to
341
+ using it. (Some other Free Software Foundation software is covered by
342
+ the GNU Library General Public License instead.) You can apply it to
343
+ your programs, too.
344
+
345
+ When we speak of free software, we are referring to freedom, not
346
+ price. Our General Public Licenses are designed to make sure that you
347
+ have the freedom to distribute copies of free software (and charge for
348
+ this service if you wish), that you receive source code or can get it
349
+ if you want it, that you can change the software or use pieces of it
350
+ in new free programs; and that you know you can do these things.
351
+
352
+ To protect your rights, we need to make restrictions that forbid
353
+ anyone to deny you these rights or to ask you to surrender the rights.
354
+ These restrictions translate to certain responsibilities for you if you
355
+ distribute copies of the software, or if you modify it.
356
+
357
+ For example, if you distribute copies of such a program, whether
358
+ gratis or for a fee, you must give the recipients all the rights that
359
+ you have. You must make sure that they, too, receive or can get the
360
+ source code. And you must show them these terms so they know their
361
+ rights.
362
+
363
+ We protect your rights with two steps: (1) copyright the software, and
364
+ (2) offer you this license which gives you legal permission to copy,
365
+ distribute and/or modify the software.
366
+
367
+ Also, for each author's protection and ours, we want to make certain
368
+ that everyone understands that there is no warranty for this free
369
+ software. If the software is modified by someone else and passed on, we
370
+ want its recipients to know that what they have is not the original, so
371
+ that any problems introduced by others will not reflect on the original
372
+ authors' reputations.
373
+
374
+ Finally, any free program is threatened constantly by software
375
+ patents. We wish to avoid the danger that redistributors of a free
376
+ program will individually obtain patent licenses, in effect making the
377
+ program proprietary. To prevent this, we have made it clear that any
378
+ patent must be licensed for everyone's free use or not licensed at all.
379
+
380
+ The precise terms and conditions for copying, distribution and
381
+ modification follow.
382
+
383
+ GNU GENERAL PUBLIC LICENSE
384
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
385
+
386
+ 0. This License applies to any program or other work which contains
387
+ a notice placed by the copyright holder saying it may be distributed
388
+ under the terms of this General Public License. The "Program", below,
389
+ refers to any such program or work, and a "work based on the Program"
390
+ means either the Program or any derivative work under copyright law:
391
+ that is to say, a work containing the Program or a portion of it,
392
+ either verbatim or with modifications and/or translated into another
393
+ language. (Hereinafter, translation is included without limitation in
394
+ the term "modification".) Each licensee is addressed as "you".
395
+
396
+ Activities other than copying, distribution and modification are not
397
+ covered by this License; they are outside its scope. The act of
398
+ running the Program is not restricted, and the output from the Program
399
+ is covered only if its contents constitute a work based on the
400
+ Program (independent of having been made by running the Program).
401
+ Whether that is true depends on what the Program does.
402
+
403
+ 1. You may copy and distribute verbatim copies of the Program's
404
+ source code as you receive it, in any medium, provided that you
405
+ conspicuously and appropriately publish on each copy an appropriate
406
+ copyright notice and disclaimer of warranty; keep intact all the
407
+ notices that refer to this License and to the absence of any warranty;
408
+ and give any other recipients of the Program a copy of this License
409
+ along with the Program.
410
+
411
+ You may charge a fee for the physical act of transferring a copy, and
412
+ you may at your option offer warranty protection in exchange for a fee.
413
+
414
+ 2. You may modify your copy or copies of the Program or any portion
415
+ of it, thus forming a work based on the Program, and copy and
416
+ distribute such modifications or work under the terms of Section 1
417
+ above, provided that you also meet all of these conditions:
418
+
419
+ a) You must cause the modified files to carry prominent notices
420
+ stating that you changed the files and the date of any change.
421
+
422
+ b) You must cause any work that you distribute or publish, that in
423
+ whole or in part contains or is derived from the Program or any
424
+ part thereof, to be licensed as a whole at no charge to all third
425
+ parties under the terms of this License.
426
+
427
+ c) If the modified program normally reads commands interactively
428
+ when run, you must cause it, when started running for such
429
+ interactive use in the most ordinary way, to print or display an
430
+ announcement including an appropriate copyright notice and a
431
+ notice that there is no warranty (or else, saying that you provide
432
+ a warranty) and that users may redistribute the program under
433
+ these conditions, and telling the user how to view a copy of this
434
+ License. (Exception: if the Program itself is interactive but
435
+ does not normally print such an announcement, your work based on
436
+ the Program is not required to print an announcement.)
437
+
438
+ These requirements apply to the modified work as a whole. If
439
+ identifiable sections of that work are not derived from the Program,
440
+ and can be reasonably considered independent and separate works in
441
+ themselves, then this License, and its terms, do not apply to those
442
+ sections when you distribute them as separate works. But when you
443
+ distribute the same sections as part of a whole which is a work based
444
+ on the Program, the distribution of the whole must be on the terms of
445
+ this License, whose permissions for other licensees extend to the
446
+ entire whole, and thus to each and every part regardless of who wrote it.
447
+
448
+ Thus, it is not the intent of this section to claim rights or contest
449
+ your rights to work written entirely by you; rather, the intent is to
450
+ exercise the right to control the distribution of derivative or
451
+ collective works based on the Program.
452
+
453
+ In addition, mere aggregation of another work not based on the Program
454
+ with the Program (or with a work based on the Program) on a volume of
455
+ a storage or distribution medium does not bring the other work under
456
+ the scope of this License.
457
+
458
+ 3. You may copy and distribute the Program (or a work based on it,
459
+ under Section 2) in object code or executable form under the terms of
460
+ Sections 1 and 2 above provided that you also do one of the following:
461
+
462
+ a) Accompany it with the complete corresponding machine-readable
463
+ source code, which must be distributed under the terms of Sections
464
+ 1 and 2 above on a medium customarily used for software interchange; or,
465
+
466
+ b) Accompany it with a written offer, valid for at least three
467
+ years, to give any third party, for a charge no more than your
468
+ cost of physically performing source distribution, a complete
469
+ machine-readable copy of the corresponding source code, to be
470
+ distributed under the terms of Sections 1 and 2 above on a medium
471
+ customarily used for software interchange; or,
472
+
473
+ c) Accompany it with the information you received as to the offer
474
+ to distribute corresponding source code. (This alternative is
475
+ allowed only for noncommercial distribution and only if you
476
+ received the program in object code or executable form with such
477
+ an offer, in accord with Subsection b above.)
478
+
479
+ The source code for a work means the preferred form of the work for
480
+ making modifications to it. For an executable work, complete source
481
+ code means all the source code for all modules it contains, plus any
482
+ associated interface definition files, plus the scripts used to
483
+ control compilation and installation of the executable. However, as a
484
+ special exception, the source code distributed need not include
485
+ anything that is normally distributed (in either source or binary
486
+ form) with the major components (compiler, kernel, and so on) of the
487
+ operating system on which the executable runs, unless that component
488
+ itself accompanies the executable.
489
+
490
+ If distribution of executable or object code is made by offering
491
+ access to copy from a designated place, then offering equivalent
492
+ access to copy the source code from the same place counts as
493
+ distribution of the source code, even though third parties are not
494
+ compelled to copy the source along with the object code.
495
+
496
+ 4. You may not copy, modify, sublicense, or distribute the Program
497
+ except as expressly provided under this License. Any attempt
498
+ otherwise to copy, modify, sublicense or distribute the Program is
499
+ void, and will automatically terminate your rights under this License.
500
+ However, parties who have received copies, or rights, from you under
501
+ this License will not have their licenses terminated so long as such
502
+ parties remain in full compliance.
503
+
504
+ 5. You are not required to accept this License, since you have not
505
+ signed it. However, nothing else grants you permission to modify or
506
+ distribute the Program or its derivative works. These actions are
507
+ prohibited by law if you do not accept this License. Therefore, by
508
+ modifying or distributing the Program (or any work based on the
509
+ Program), you indicate your acceptance of this License to do so, and
510
+ all its terms and conditions for copying, distributing or modifying
511
+ the Program or works based on it.
512
+
513
+ 6. Each time you redistribute the Program (or any work based on the
514
+ Program), the recipient automatically receives a license from the
515
+ original licensor to copy, distribute or modify the Program subject to
516
+ these terms and conditions. You may not impose any further
517
+ restrictions on the recipients' exercise of the rights granted herein.
518
+ You are not responsible for enforcing compliance by third parties to
519
+ this License.
520
+
521
+ 7. If, as a consequence of a court judgment or allegation of patent
522
+ infringement or for any other reason (not limited to patent issues),
523
+ conditions are imposed on you (whether by court order, agreement or
524
+ otherwise) that contradict the conditions of this License, they do not
525
+ excuse you from the conditions of this License. If you cannot
526
+ distribute so as to satisfy simultaneously your obligations under this
527
+ License and any other pertinent obligations, then as a consequence you
528
+ may not distribute the Program at all. For example, if a patent
529
+ license would not permit royalty-free redistribution of the Program by
530
+ all those who receive copies directly or indirectly through you, then
531
+ the only way you could satisfy both it and this License would be to
532
+ refrain entirely from distribution of the Program.
533
+
534
+ If any portion of this section is held invalid or unenforceable under
535
+ any particular circumstance, the balance of the section is intended to
536
+ apply and the section as a whole is intended to apply in other
537
+ circumstances.
538
+
539
+ It is not the purpose of this section to induce you to infringe any
540
+ patents or other property right claims or to contest validity of any
541
+ such claims; this section has the sole purpose of protecting the
542
+ integrity of the free software distribution system, which is
543
+ implemented by public license practices. Many people have made
544
+ generous contributions to the wide range of software distributed
545
+ through that system in reliance on consistent application of that
546
+ system; it is up to the author/donor to decide if he or she is willing
547
+ to distribute software through any other system and a licensee cannot
548
+ impose that choice.
549
+
550
+ This section is intended to make thoroughly clear what is believed to
551
+ be a consequence of the rest of this License.
552
+
553
+ 8. If the distribution and/or use of the Program is restricted in
554
+ certain countries either by patents or by copyrighted interfaces, the
555
+ original copyright holder who places the Program under this License
556
+ may add an explicit geographical distribution limitation excluding
557
+ those countries, so that distribution is permitted only in or among
558
+ countries not thus excluded. In such case, this License incorporates
559
+ the limitation as if written in the body of this License.
560
+
561
+ 9. The Free Software Foundation may publish revised and/or new versions
562
+ of the General Public License from time to time. Such new versions will
563
+ be similar in spirit to the present version, but may differ in detail to
564
+ address new problems or concerns.
565
+
566
+ Each version is given a distinguishing version number. If the Program
567
+ specifies a version number of this License which applies to it and "any
568
+ later version", you have the option of following the terms and conditions
569
+ either of that version or of any later version published by the Free
570
+ Software Foundation. If the Program does not specify a version number of
571
+ this License, you may choose any version ever published by the Free Software
572
+ Foundation.
573
+
574
+ 10. If you wish to incorporate parts of the Program into other free
575
+ programs whose distribution conditions are different, write to the author
576
+ to ask for permission. For software which is copyrighted by the Free
577
+ Software Foundation, write to the Free Software Foundation; we sometimes
578
+ make exceptions for this. Our decision will be guided by the two goals
579
+ of preserving the free status of all derivatives of our free software and
580
+ of promoting the sharing and reuse of software generally.
581
+
582
+ NO WARRANTY
583
+
584
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
585
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
586
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
587
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
588
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
589
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
590
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
591
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
592
+ REPAIR OR CORRECTION.
593
+
594
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
595
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
596
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
597
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
598
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
599
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
600
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
601
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
602
+ POSSIBILITY OF SUCH DAMAGES.
603
+
604
+ END OF TERMS AND CONDITIONS
605
+
606
+ How to Apply These Terms to Your New Programs
607
+
608
+ If you develop a new program, and you want it to be of the greatest
609
+ possible use to the public, the best way to achieve this is to make it
610
+ free software which everyone can redistribute and change under these terms.
611
+
612
+ To do so, attach the following notices to the program. It is safest
613
+ to attach them to the start of each source file to most effectively
614
+ convey the exclusion of warranty; and each file should have at least
615
+ the "copyright" line and a pointer to where the full notice is found.
616
+
617
+ <one line to give the program's name and a brief idea of what it does.>
618
+ Copyright (C) <year> <name of author>
619
+
620
+ This program is free software; you can redistribute it and/or modify
621
+ it under the terms of the GNU General Public License as published by
622
+ the Free Software Foundation; either version 2 of the License, or
623
+ (at your option) any later version.
624
+
625
+ This program is distributed in the hope that it will be useful,
626
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
627
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
628
+ GNU General Public License for more details.
629
+
630
+ You should have received a copy of the GNU General Public License
631
+ along with this program; if not, write to the Free Software
632
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
633
+
634
+
635
+ Also add information on how to contact you by electronic and paper mail.
636
+
637
+ If the program is interactive, make it output a short notice like this
638
+ when it starts in an interactive mode:
639
+
640
+ Gnomovision version 69, Copyright (C) year name of author
641
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
642
+ This is free software, and you are welcome to redistribute it
643
+ under certain conditions; type `show c' for details.
644
+
645
+ The hypothetical commands `show w' and `show c' should show the appropriate
646
+ parts of the General Public License. Of course, the commands you use may
647
+ be called something other than `show w' and `show c'; they could even be
648
+ mouse-clicks or menu items--whatever suits your program.
649
+
650
+ You should also get your employer (if you work as a programmer) or your
651
+ school, if any, to sign a "copyright disclaimer" for the program, if
652
+ necessary. Here is a sample; alter the names:
653
+
654
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
655
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
656
+
657
+ <signature of Ty Coon>, 1 April 1989
658
+ Ty Coon, President of Vice
659
+
660
+ This General Public License does not permit incorporating your program into
661
+ proprietary programs. If your program is a subroutine library, you may
662
+ consider it more useful to permit linking proprietary applications with the
663
+ library. If this is what you want to do, use the GNU Library General
664
+ Public License instead of this License.
665
+
666
+ --------------------------------------------------------------------------
667
+
668
+ The following license details are part of `src/bdf/README`:
669
+
670
+ ```
671
+ License
672
+ *******
673
+
674
+ Copyright (C) 2001-2002 by Francesco Zappa Nardelli
675
+
676
+ Permission is hereby granted, free of charge, to any person obtaining
677
+ a copy of this software and associated documentation files (the
678
+ "Software"), to deal in the Software without restriction, including
679
+ without limitation the rights to use, copy, modify, merge, publish,
680
+ distribute, sublicense, and/or sell copies of the Software, and to
681
+ permit persons to whom the Software is furnished to do so, subject to
682
+ the following conditions:
683
+
684
+ The above copyright notice and this permission notice shall be
685
+ included in all copies or substantial portions of the Software.
686
+
687
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
688
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
689
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
690
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
691
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
692
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
693
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
694
+
695
+ *** Portions of the driver (that is, bdflib.c and bdf.h):
696
+
697
+ Copyright 2000 Computing Research Labs, New Mexico State University
698
+ Copyright 2001-2002, 2011 Francesco Zappa Nardelli
699
+
700
+ Permission is hereby granted, free of charge, to any person obtaining a
701
+ copy of this software and associated documentation files (the "Software"),
702
+ to deal in the Software without restriction, including without limitation
703
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
704
+ and/or sell copies of the Software, and to permit persons to whom the
705
+ Software is furnished to do so, subject to the following conditions:
706
+
707
+ The above copyright notice and this permission notice shall be included in
708
+ all copies or substantial portions of the Software.
709
+
710
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
711
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
712
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
713
+ THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY
714
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
715
+ OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
716
+ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
717
+
718
+
719
+ Credits
720
+ *******
721
+
722
+ This driver is based on excellent Mark Leisher's bdf library. If you
723
+ find something good in this driver you should probably thank him, not
724
+ me.
725
+ ```
726
+
727
+ The following license details are part of `src/pcf/README`:
728
+
729
+ ```
730
+ License
731
+ *******
732
+
733
+ Copyright (C) 2000 by Francesco Zappa Nardelli
734
+
735
+ Permission is hereby granted, free of charge, to any person obtaining
736
+ a copy of this software and associated documentation files (the
737
+ "Software"), to deal in the Software without restriction, including
738
+ without limitation the rights to use, copy, modify, merge, publish,
739
+ distribute, sublicense, and/or sell copies of the Software, and to
740
+ permit persons to whom the Software is furnished to do so, subject to
741
+ the following conditions:
742
+
743
+ The above copyright notice and this permission notice shall be
744
+ included in all copies or substantial portions of the Software.
745
+
746
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
747
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
748
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
749
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
750
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
751
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
752
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
753
+
754
+
755
+ Credits
756
+ *******
757
+
758
+ Keith Packard wrote the pcf driver found in XFree86. His work is at
759
+ the same time the specification and the sample implementation of the
760
+ PCF format. Undoubtedly, this driver is inspired from his work.
761
+ ```
762
+
763
+
764
+ ----
765
+
766
+ HARFBUZZ
767
+
768
+ HarfBuzz is licensed under the so-called "Old MIT" license. Details follow.
769
+ For parts of HarfBuzz that are licensed under different licenses see individual
770
+ files names COPYING in subdirectories where applicable.
771
+
772
+ Copyright © 2010-2022 Google, Inc.
773
+ Copyright © 2015-2020 Ebrahim Byagowi
774
+ Copyright © 2019,2020 Facebook, Inc.
775
+ Copyright © 2012,2015 Mozilla Foundation
776
+ Copyright © 2011 Codethink Limited
777
+ Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies)
778
+ Copyright © 2009 Keith Stribley
779
+ Copyright © 2011 Martin Hosken and SIL International
780
+ Copyright © 2007 Chris Wilson
781
+ Copyright © 2005,2006,2020,2021,2022,2023 Behdad Esfahbod
782
+ Copyright © 2004,2007,2008,2009,2010,2013,2021,2022,2023 Red Hat, Inc.
783
+ Copyright © 1998-2005 David Turner and Werner Lemberg
784
+ Copyright © 2016 Igalia S.L.
785
+ Copyright © 2022 Matthias Clasen
786
+ Copyright © 2018,2021 Khaled Hosny
787
+ Copyright © 2018,2019,2020 Adobe, Inc
788
+ Copyright © 2013-2015 Alexei Podtelezhnikov
789
+
790
+ For full copyright notices consult the individual files in the package.
791
+
792
+
793
+ Permission is hereby granted, without written agreement and without
794
+ license or royalty fees, to use, copy, modify, and distribute this
795
+ software and its documentation for any purpose, provided that the
796
+ above copyright notice and the following two paragraphs appear in
797
+ all copies of this software.
798
+
799
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
800
+ DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
801
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
802
+ IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
803
+ DAMAGE.
804
+
805
+ THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
806
+ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
807
+ FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
808
+ ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
809
+ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
810
+
811
+
812
+ ----
813
+
814
+ LCMS2
815
+
816
+ Little CMS
817
+ Copyright (c) 1998-2020 Marti Maria Saguer
818
+
819
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
820
+
821
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
822
+
823
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
824
+
825
+
826
+ ----
827
+
828
+ LIBJPEG
829
+
830
+ 1. We don't promise that this software works. (But if you find any bugs,
831
+ please let us know!)
832
+ 2. You can use this software for whatever you want. You don't have to pay us.
833
+ 3. You may not pretend that you wrote this software. If you use it in a
834
+ program, you must acknowledge somewhere in your documentation that
835
+ you've used the IJG code.
836
+
837
+ In legalese:
838
+
839
+ The authors make NO WARRANTY or representation, either express or implied,
840
+ with respect to this software, its quality, accuracy, merchantability, or
841
+ fitness for a particular purpose. This software is provided "AS IS", and you,
842
+ its user, assume the entire risk as to its quality and accuracy.
843
+
844
+ This software is copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding.
845
+ All Rights Reserved except as specified below.
846
+
847
+ Permission is hereby granted to use, copy, modify, and distribute this
848
+ software (or portions thereof) for any purpose, without fee, subject to these
849
+ conditions:
850
+ (1) If any part of the source code for this software is distributed, then this
851
+ README file must be included, with this copyright and no-warranty notice
852
+ unaltered; and any additions, deletions, or changes to the original files
853
+ must be clearly indicated in accompanying documentation.
854
+ (2) If only executable code is distributed, then the accompanying
855
+ documentation must state that "this software is based in part on the work of
856
+ the Independent JPEG Group".
857
+ (3) Permission for use of this software is granted only if the user accepts
858
+ full responsibility for any undesirable consequences; the authors accept
859
+ NO LIABILITY for damages of any kind.
860
+
861
+ These conditions apply to any software derived from or based on the IJG code,
862
+ not just to the unmodified library. If you use our work, you ought to
863
+ acknowledge us.
864
+
865
+ Permission is NOT granted for the use of any IJG author's name or company name
866
+ in advertising or publicity relating to this software or products derived from
867
+ it. This software may be referred to only as "the Independent JPEG Group's
868
+ software".
869
+
870
+ We specifically permit and encourage the use of this software as the basis of
871
+ commercial products, provided that all warranty or liability claims are
872
+ assumed by the product vendor.
873
+
874
+
875
+ ----
876
+
877
+ LIBLZMA
878
+
879
+ XZ Utils Licensing
880
+ ==================
881
+
882
+ Different licenses apply to different files in this package. Here
883
+ is a rough summary of which licenses apply to which parts of this
884
+ package (but check the individual files to be sure!):
885
+
886
+ - liblzma is in the public domain.
887
+
888
+ - xz, xzdec, and lzmadec command line tools are in the public
889
+ domain unless GNU getopt_long had to be compiled and linked
890
+ in from the lib directory. The getopt_long code is under
891
+ GNU LGPLv2.1+.
892
+
893
+ - The scripts to grep, diff, and view compressed files have been
894
+ adapted from gzip. These scripts and their documentation are
895
+ under GNU GPLv2+.
896
+
897
+ - All the documentation in the doc directory and most of the
898
+ XZ Utils specific documentation files in other directories
899
+ are in the public domain.
900
+
901
+ - Translated messages are in the public domain.
902
+
903
+ - The build system contains public domain files, and files that
904
+ are under GNU GPLv2+ or GNU GPLv3+. None of these files end up
905
+ in the binaries being built.
906
+
907
+ - Test files and test code in the tests directory, and debugging
908
+ utilities in the debug directory are in the public domain.
909
+
910
+ - The extra directory may contain public domain files, and files
911
+ that are under various free software licenses.
912
+
913
+ You can do whatever you want with the files that have been put into
914
+ the public domain. If you find public domain legally problematic,
915
+ take the previous sentence as a license grant. If you still find
916
+ the lack of copyright legally problematic, you have too many
917
+ lawyers.
918
+
919
+ As usual, this software is provided "as is", without any warranty.
920
+
921
+ If you copy significant amounts of public domain code from XZ Utils
922
+ into your project, acknowledging this somewhere in your software is
923
+ polite (especially if it is proprietary, non-free software), but
924
+ naturally it is not legally required. Here is an example of a good
925
+ notice to put into "about box" or into documentation:
926
+
927
+ This software includes code from XZ Utils <http://tukaani.org/xz/>.
928
+
929
+ The following license texts are included in the following files:
930
+ - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
931
+ - COPYING.GPLv2: GNU General Public License version 2
932
+ - COPYING.GPLv3: GNU General Public License version 3
933
+
934
+ Note that the toolchain (compiler, linker etc.) may add some code
935
+ pieces that are copyrighted. Thus, it is possible that e.g. liblzma
936
+ binary wouldn't actually be in the public domain in its entirety
937
+ even though it contains no copyrighted code from the XZ Utils source
938
+ package.
939
+
940
+ If you have questions, don't hesitate to ask the author(s) for more
941
+ information.
942
+
943
+
944
+ ----
945
+
946
+ LIBPNG
947
+
948
+ COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
949
+ =========================================
950
+
951
+ PNG Reference Library License version 2
952
+ ---------------------------------------
953
+
954
+ * Copyright (c) 1995-2022 The PNG Reference Library Authors.
955
+ * Copyright (c) 2018-2022 Cosmin Truta.
956
+ * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
957
+ * Copyright (c) 1996-1997 Andreas Dilger.
958
+ * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
959
+
960
+ The software is supplied "as is", without warranty of any kind,
961
+ express or implied, including, without limitation, the warranties
962
+ of merchantability, fitness for a particular purpose, title, and
963
+ non-infringement. In no event shall the Copyright owners, or
964
+ anyone distributing the software, be liable for any damages or
965
+ other liability, whether in contract, tort or otherwise, arising
966
+ from, out of, or in connection with the software, or the use or
967
+ other dealings in the software, even if advised of the possibility
968
+ of such damage.
969
+
970
+ Permission is hereby granted to use, copy, modify, and distribute
971
+ this software, or portions hereof, for any purpose, without fee,
972
+ subject to the following restrictions:
973
+
974
+ 1. The origin of this software must not be misrepresented; you
975
+ must not claim that you wrote the original software. If you
976
+ use this software in a product, an acknowledgment in the product
977
+ documentation would be appreciated, but is not required.
978
+
979
+ 2. Altered source versions must be plainly marked as such, and must
980
+ not be misrepresented as being the original software.
981
+
982
+ 3. This Copyright notice may not be removed or altered from any
983
+ source or altered source distribution.
984
+
985
+
986
+ PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35)
987
+ -----------------------------------------------------------------------
988
+
989
+ libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are
990
+ Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
991
+ derived from libpng-1.0.6, and are distributed according to the same
992
+ disclaimer and license as libpng-1.0.6 with the following individuals
993
+ added to the list of Contributing Authors:
994
+
995
+ Simon-Pierre Cadieux
996
+ Eric S. Raymond
997
+ Mans Rullgard
998
+ Cosmin Truta
999
+ Gilles Vollant
1000
+ James Yu
1001
+ Mandar Sahastrabuddhe
1002
+ Google Inc.
1003
+ Vadim Barkov
1004
+
1005
+ and with the following additions to the disclaimer:
1006
+
1007
+ There is no warranty against interference with your enjoyment of
1008
+ the library or against infringement. There is no warranty that our
1009
+ efforts or the library will fulfill any of your particular purposes
1010
+ or needs. This library is provided with all faults, and the entire
1011
+ risk of satisfactory quality, performance, accuracy, and effort is
1012
+ with the user.
1013
+
1014
+ Some files in the "contrib" directory and some configure-generated
1015
+ files that are distributed with libpng have other copyright owners, and
1016
+ are released under other open source licenses.
1017
+
1018
+ libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
1019
+ Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
1020
+ libpng-0.96, and are distributed according to the same disclaimer and
1021
+ license as libpng-0.96, with the following individuals added to the
1022
+ list of Contributing Authors:
1023
+
1024
+ Tom Lane
1025
+ Glenn Randers-Pehrson
1026
+ Willem van Schaik
1027
+
1028
+ libpng versions 0.89, June 1996, through 0.96, May 1997, are
1029
+ Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
1030
+ and are distributed according to the same disclaimer and license as
1031
+ libpng-0.88, with the following individuals added to the list of
1032
+ Contributing Authors:
1033
+
1034
+ John Bowler
1035
+ Kevin Bracey
1036
+ Sam Bushell
1037
+ Magnus Holmgren
1038
+ Greg Roelofs
1039
+ Tom Tanner
1040
+
1041
+ Some files in the "scripts" directory have other copyright owners,
1042
+ but are released under this license.
1043
+
1044
+ libpng versions 0.5, May 1995, through 0.88, January 1996, are
1045
+ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
1046
+
1047
+ For the purposes of this copyright and license, "Contributing Authors"
1048
+ is defined as the following set of individuals:
1049
+
1050
+ Andreas Dilger
1051
+ Dave Martindale
1052
+ Guy Eric Schalnat
1053
+ Paul Schmidt
1054
+ Tim Wegner
1055
+
1056
+ The PNG Reference Library is supplied "AS IS". The Contributing
1057
+ Authors and Group 42, Inc. disclaim all warranties, expressed or
1058
+ implied, including, without limitation, the warranties of
1059
+ merchantability and of fitness for any purpose. The Contributing
1060
+ Authors and Group 42, Inc. assume no liability for direct, indirect,
1061
+ incidental, special, exemplary, or consequential damages, which may
1062
+ result from the use of the PNG Reference Library, even if advised of
1063
+ the possibility of such damage.
1064
+
1065
+ Permission is hereby granted to use, copy, modify, and distribute this
1066
+ source code, or portions hereof, for any purpose, without fee, subject
1067
+ to the following restrictions:
1068
+
1069
+ 1. The origin of this source code must not be misrepresented.
1070
+
1071
+ 2. Altered versions must be plainly marked as such and must not
1072
+ be misrepresented as being the original source.
1073
+
1074
+ 3. This Copyright notice may not be removed or altered from any
1075
+ source or altered source distribution.
1076
+
1077
+ The Contributing Authors and Group 42, Inc. specifically permit,
1078
+ without fee, and encourage the use of this source code as a component
1079
+ to supporting the PNG file format in commercial products. If you use
1080
+ this source code in a product, acknowledgment is not required but would
1081
+ be appreciated.
1082
+
1083
+
1084
+ ----
1085
+
1086
+ LIBTIFF
1087
+
1088
+ Copyright (c) 1988-1997 Sam Leffler
1089
+ Copyright (c) 1991-1997 Silicon Graphics, Inc.
1090
+
1091
+ Permission to use, copy, modify, distribute, and sell this software and
1092
+ its documentation for any purpose is hereby granted without fee, provided
1093
+ that (i) the above copyright notices and this permission notice appear in
1094
+ all copies of the software and related documentation, and (ii) the names of
1095
+ Sam Leffler and Silicon Graphics may not be used in any advertising or
1096
+ publicity relating to the software without the specific, prior written
1097
+ permission of Sam Leffler and Silicon Graphics.
1098
+
1099
+ THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
1100
+ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
1101
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
1102
+
1103
+ IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
1104
+ ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
1105
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
1106
+ WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
1107
+ LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
1108
+ OF THIS SOFTWARE.
1109
+
1110
+
1111
+ ----
1112
+
1113
+ LIBWEBP
1114
+
1115
+ Copyright (c) 2010, Google Inc. All rights reserved.
1116
+
1117
+ Redistribution and use in source and binary forms, with or without
1118
+ modification, are permitted provided that the following conditions are
1119
+ met:
1120
+
1121
+ * Redistributions of source code must retain the above copyright
1122
+ notice, this list of conditions and the following disclaimer.
1123
+
1124
+ * Redistributions in binary form must reproduce the above copyright
1125
+ notice, this list of conditions and the following disclaimer in
1126
+ the documentation and/or other materials provided with the
1127
+ distribution.
1128
+
1129
+ * Neither the name of Google nor the names of its contributors may
1130
+ be used to endorse or promote products derived from this software
1131
+ without specific prior written permission.
1132
+
1133
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1134
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1135
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1136
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1137
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1138
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1139
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1140
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1141
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1142
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1143
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1144
+
1145
+
1146
+ ----
1147
+
1148
+ OPENJPEG
1149
+
1150
+ *
1151
+ * The copyright in this software is being made available under the 2-clauses
1152
+ * BSD License, included below. This software may be subject to other third
1153
+ * party and contributor rights, including patent rights, and no such rights
1154
+ * are granted under this license.
1155
+ *
1156
+ * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
1157
+ * Copyright (c) 2002-2014, Professor Benoit Macq
1158
+ * Copyright (c) 2003-2014, Antonin Descampe
1159
+ * Copyright (c) 2003-2009, Francois-Olivier Devaux
1160
+ * Copyright (c) 2005, Herve Drolon, FreeImage Team
1161
+ * Copyright (c) 2002-2003, Yannick Verschueren
1162
+ * Copyright (c) 2001-2003, David Janssens
1163
+ * Copyright (c) 2011-2012, Centre National d'Etudes Spatiales (CNES), France
1164
+ * Copyright (c) 2012, CS Systemes d'Information, France
1165
+ *
1166
+ * All rights reserved.
1167
+ *
1168
+ * Redistribution and use in source and binary forms, with or without
1169
+ * modification, are permitted provided that the following conditions
1170
+ * are met:
1171
+ * 1. Redistributions of source code must retain the above copyright
1172
+ * notice, this list of conditions and the following disclaimer.
1173
+ * 2. Redistributions in binary form must reproduce the above copyright
1174
+ * notice, this list of conditions and the following disclaimer in the
1175
+ * documentation and/or other materials provided with the distribution.
1176
+ *
1177
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
1178
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1179
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1180
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1181
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1182
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1183
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1184
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1185
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1186
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1187
+ * POSSIBILITY OF SUCH DAMAGE.
1188
+ */
1189
+
1190
+
1191
+ ----
1192
+
1193
+ RAQM
1194
+
1195
+ The MIT License (MIT)
1196
+
1197
+ Copyright © 2015 Information Technology Authority (ITA) <foss@ita.gov.om>
1198
+ Copyright © 2016 Khaled Hosny <khaledhosny@eglug.org>
1199
+
1200
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1201
+ of this software and associated documentation files (the "Software"), to deal
1202
+ in the Software without restriction, including without limitation the rights
1203
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1204
+ copies of the Software, and to permit persons to whom the Software is
1205
+ furnished to do so, subject to the following conditions:
1206
+
1207
+ The above copyright notice and this permission notice shall be included in all
1208
+ copies or substantial portions of the Software.
1209
+
1210
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1211
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1212
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1213
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1214
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1215
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1216
+ SOFTWARE.
1217
+
1218
+
1219
+ ----
1220
+
1221
+ XAU
1222
+
1223
+ Copyright 1988, 1993, 1994, 1998 The Open Group
1224
+
1225
+ Permission to use, copy, modify, distribute, and sell this software and its
1226
+ documentation for any purpose is hereby granted without fee, provided that
1227
+ the above copyright notice appear in all copies and that both that
1228
+ copyright notice and this permission notice appear in supporting
1229
+ documentation.
1230
+
1231
+ The above copyright notice and this permission notice shall be included in
1232
+ all copies or substantial portions of the Software.
1233
+
1234
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1235
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1236
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1237
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
1238
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1239
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1240
+
1241
+ Except as contained in this notice, the name of The Open Group shall not be
1242
+ used in advertising or otherwise to promote the sale, use or other dealings
1243
+ in this Software without prior written authorization from The Open Group.
1244
+
1245
+
1246
+ ----
1247
+
1248
+ XCB
1249
+
1250
+ Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
1251
+ All Rights Reserved.
1252
+
1253
+ Permission is hereby granted, free of charge, to any person
1254
+ obtaining a copy of this software and associated
1255
+ documentation files (the "Software"), to deal in the
1256
+ Software without restriction, including without limitation
1257
+ the rights to use, copy, modify, merge, publish, distribute,
1258
+ sublicense, and/or sell copies of the Software, and to
1259
+ permit persons to whom the Software is furnished to do so,
1260
+ subject to the following conditions:
1261
+
1262
+ The above copyright notice and this permission notice shall
1263
+ be included in all copies or substantial portions of the
1264
+ Software.
1265
+
1266
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
1267
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1268
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
1269
+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
1270
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1271
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1272
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1273
+ OTHER DEALINGS IN THE SOFTWARE.
1274
+
1275
+ Except as contained in this notice, the names of the authors
1276
+ or their institutions shall not be used in advertising or
1277
+ otherwise to promote the sale, use or other dealings in this
1278
+ Software without prior written authorization from the
1279
+ authors.
1280
+
1281
+
1282
+ ----
1283
+
1284
+ XDMCP
1285
+
1286
+ Copyright 1989, 1998 The Open Group
1287
+
1288
+ Permission to use, copy, modify, distribute, and sell this software and its
1289
+ documentation for any purpose is hereby granted without fee, provided that
1290
+ the above copyright notice appear in all copies and that both that
1291
+ copyright notice and this permission notice appear in supporting
1292
+ documentation.
1293
+
1294
+ The above copyright notice and this permission notice shall be included in
1295
+ all copies or substantial portions of the Software.
1296
+
1297
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1298
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1299
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1300
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
1301
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1302
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1303
+
1304
+ Except as contained in this notice, the name of The Open Group shall not be
1305
+ used in advertising or otherwise to promote the sale, use or other dealings
1306
+ in this Software without prior written authorization from The Open Group.
1307
+
1308
+ Author: Keith Packard, MIT X Consortium
1309
+
1310
+
1311
+ ----
1312
+
1313
+ ZLIB
1314
+
1315
+ (C) 1995-2017 Jean-loup Gailly and Mark Adler
1316
+
1317
+ This software is provided 'as-is', without any express or implied
1318
+ warranty. In no event will the authors be held liable for any damages
1319
+ arising from the use of this software.
1320
+
1321
+ Permission is granted to anyone to use this software for any purpose,
1322
+ including commercial applications, and to alter it and redistribute it
1323
+ freely, subject to the following restrictions:
1324
+
1325
+ 1. The origin of this software must not be misrepresented; you must not
1326
+ claim that you wrote the original software. If you use this software
1327
+ in a product, an acknowledgment in the product documentation would be
1328
+ appreciated but is not required.
1329
+ 2. Altered source versions must be plainly marked as such, and must not be
1330
+ misrepresented as being the original software.
1331
+ 3. This notice may not be removed or altered from any source distribution.
1332
+
1333
+ Jean-loup Gailly Mark Adler
1334
+ jloup@gzip.org madler@alumni.caltech.edu
1335
+
1336
+ If you use the zlib library in a product, we would appreciate *not* receiving
1337
+ lengthy legal documents to sign. The sources are provided for free but without
1338
+ warranty of any kind. The library has been entirely written by Jean-loup
1339
+ Gailly and Mark Adler; it does not include third-party code.
1340
+
1341
+ If you redistribute modified sources, we would appreciate that you include in
1342
+ the file ChangeLog history information documenting your changes. Please read
1343
+ the FAQ for more information on the distribution of modified source versions.
vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/METADATA ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: pillow
3
+ Version: 10.4.0
4
+ Summary: Python Imaging Library (Fork)
5
+ Author-email: "Jeffrey A. Clark" <aclark@aclark.net>
6
+ License: HPND
7
+ Project-URL: Changelog, https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst
8
+ Project-URL: Documentation, https://pillow.readthedocs.io
9
+ Project-URL: Funding, https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=pypi
10
+ Project-URL: Homepage, https://python-pillow.org
11
+ Project-URL: Mastodon, https://fosstodon.org/@pillow
12
+ Project-URL: Release notes, https://pillow.readthedocs.io/en/stable/releasenotes/index.html
13
+ Project-URL: Source, https://github.com/python-pillow/Pillow
14
+ Keywords: Imaging
15
+ Classifier: Development Status :: 6 - Mature
16
+ Classifier: License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: Implementation :: CPython
24
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
25
+ Classifier: Topic :: Multimedia :: Graphics
26
+ Classifier: Topic :: Multimedia :: Graphics :: Capture :: Digital Camera
27
+ Classifier: Topic :: Multimedia :: Graphics :: Capture :: Screen Capture
28
+ Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
29
+ Classifier: Topic :: Multimedia :: Graphics :: Viewers
30
+ Classifier: Typing :: Typed
31
+ Requires-Python: >=3.8
32
+ Description-Content-Type: text/markdown
33
+ License-File: LICENSE
34
+ Provides-Extra: docs
35
+ Requires-Dist: furo ; extra == 'docs'
36
+ Requires-Dist: olefile ; extra == 'docs'
37
+ Requires-Dist: sphinx >=7.3 ; extra == 'docs'
38
+ Requires-Dist: sphinx-copybutton ; extra == 'docs'
39
+ Requires-Dist: sphinx-inline-tabs ; extra == 'docs'
40
+ Requires-Dist: sphinxext-opengraph ; extra == 'docs'
41
+ Provides-Extra: fpx
42
+ Requires-Dist: olefile ; extra == 'fpx'
43
+ Provides-Extra: mic
44
+ Requires-Dist: olefile ; extra == 'mic'
45
+ Provides-Extra: tests
46
+ Requires-Dist: check-manifest ; extra == 'tests'
47
+ Requires-Dist: coverage ; extra == 'tests'
48
+ Requires-Dist: defusedxml ; extra == 'tests'
49
+ Requires-Dist: markdown2 ; extra == 'tests'
50
+ Requires-Dist: olefile ; extra == 'tests'
51
+ Requires-Dist: packaging ; extra == 'tests'
52
+ Requires-Dist: pyroma ; extra == 'tests'
53
+ Requires-Dist: pytest ; extra == 'tests'
54
+ Requires-Dist: pytest-cov ; extra == 'tests'
55
+ Requires-Dist: pytest-timeout ; extra == 'tests'
56
+ Provides-Extra: typing
57
+ Requires-Dist: typing-extensions ; (python_version < "3.10") and extra == 'typing'
58
+ Provides-Extra: xmp
59
+ Requires-Dist: defusedxml ; extra == 'xmp'
60
+
61
+ <p align="center">
62
+ <img width="248" height="250" src="https://raw.githubusercontent.com/python-pillow/pillow-logo/main/pillow-logo-248x250.png" alt="Pillow logo">
63
+ </p>
64
+
65
+ # Pillow
66
+
67
+ ## Python Imaging Library (Fork)
68
+
69
+ Pillow is the friendly PIL fork by [Jeffrey A. Clark and
70
+ contributors](https://github.com/python-pillow/Pillow/graphs/contributors).
71
+ PIL is the Python Imaging Library by Fredrik Lundh and contributors.
72
+ As of 2019, Pillow development is
73
+ [supported by Tidelift](https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=readme&utm_campaign=enterprise).
74
+
75
+ <table>
76
+ <tr>
77
+ <th>docs</th>
78
+ <td>
79
+ <a href="https://pillow.readthedocs.io/?badge=latest"><img
80
+ alt="Documentation Status"
81
+ src="https://readthedocs.org/projects/pillow/badge/?version=latest"></a>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <th>tests</th>
86
+ <td>
87
+ <a href="https://github.com/python-pillow/Pillow/actions/workflows/lint.yml"><img
88
+ alt="GitHub Actions build status (Lint)"
89
+ src="https://github.com/python-pillow/Pillow/workflows/Lint/badge.svg"></a>
90
+ <a href="https://github.com/python-pillow/Pillow/actions/workflows/test.yml"><img
91
+ alt="GitHub Actions build status (Test Linux and macOS)"
92
+ src="https://github.com/python-pillow/Pillow/workflows/Test/badge.svg"></a>
93
+ <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml"><img
94
+ alt="GitHub Actions build status (Test Windows)"
95
+ src="https://github.com/python-pillow/Pillow/workflows/Test%20Windows/badge.svg"></a>
96
+ <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-mingw.yml"><img
97
+ alt="GitHub Actions build status (Test MinGW)"
98
+ src="https://github.com/python-pillow/Pillow/workflows/Test%20MinGW/badge.svg"></a>
99
+ <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-cygwin.yml"><img
100
+ alt="GitHub Actions build status (Test Cygwin)"
101
+ src="https://github.com/python-pillow/Pillow/workflows/Test%20Cygwin/badge.svg"></a>
102
+ <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-docker.yml"><img
103
+ alt="GitHub Actions build status (Test Docker)"
104
+ src="https://github.com/python-pillow/Pillow/workflows/Test%20Docker/badge.svg"></a>
105
+ <a href="https://ci.appveyor.com/project/python-pillow/Pillow"><img
106
+ alt="AppVeyor CI build status (Windows)"
107
+ src="https://img.shields.io/appveyor/build/python-pillow/Pillow/main.svg?label=Windows%20build"></a>
108
+ <a href="https://github.com/python-pillow/Pillow/actions/workflows/wheels.yml"><img
109
+ alt="GitHub Actions build status (Wheels)"
110
+ src="https://github.com/python-pillow/Pillow/workflows/Wheels/badge.svg"></a>
111
+ <a href="https://app.codecov.io/gh/python-pillow/Pillow"><img
112
+ alt="Code coverage"
113
+ src="https://codecov.io/gh/python-pillow/Pillow/branch/main/graph/badge.svg"></a>
114
+ <a href="https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:pillow"><img
115
+ alt="Fuzzing Status"
116
+ src="https://oss-fuzz-build-logs.storage.googleapis.com/badges/pillow.svg"></a>
117
+ </td>
118
+ </tr>
119
+ <tr>
120
+ <th>package</th>
121
+ <td>
122
+ <a href="https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow"><img
123
+ alt="Zenodo"
124
+ src="https://zenodo.org/badge/17549/python-pillow/Pillow.svg"></a>
125
+ <a href="https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=badge"><img
126
+ alt="Tidelift"
127
+ src="https://tidelift.com/badges/package/pypi/pillow?style=flat"></a>
128
+ <a href="https://pypi.org/project/pillow/"><img
129
+ alt="Newest PyPI version"
130
+ src="https://img.shields.io/pypi/v/pillow.svg"></a>
131
+ <a href="https://pypi.org/project/pillow/"><img
132
+ alt="Number of PyPI downloads"
133
+ src="https://img.shields.io/pypi/dm/pillow.svg"></a>
134
+ <a href="https://www.bestpractices.dev/projects/6331"><img
135
+ alt="OpenSSF Best Practices"
136
+ src="https://www.bestpractices.dev/projects/6331/badge"></a>
137
+ </td>
138
+ </tr>
139
+ <tr>
140
+ <th>social</th>
141
+ <td>
142
+ <a href="https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img
143
+ alt="Join the chat at https://gitter.im/python-pillow/Pillow"
144
+ src="https://badges.gitter.im/python-pillow/Pillow.svg"></a>
145
+ <a href="https://fosstodon.org/@pillow"><img
146
+ alt="Follow on https://fosstodon.org/@pillow"
147
+ src="https://img.shields.io/badge/publish-on%20Mastodon-595aff.svg"
148
+ rel="me"></a>
149
+ </td>
150
+ </tr>
151
+ </table>
152
+
153
+ ## Overview
154
+
155
+ The Python Imaging Library adds image processing capabilities to your Python interpreter.
156
+
157
+ This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities.
158
+
159
+ The core image library is designed for fast access to data stored in a few basic pixel formats. It should provide a solid foundation for a general image processing tool.
160
+
161
+ ## More Information
162
+
163
+ - [Documentation](https://pillow.readthedocs.io/)
164
+ - [Installation](https://pillow.readthedocs.io/en/latest/installation/basic-installation.html)
165
+ - [Handbook](https://pillow.readthedocs.io/en/latest/handbook/index.html)
166
+ - [Contribute](https://github.com/python-pillow/Pillow/blob/main/.github/CONTRIBUTING.md)
167
+ - [Issues](https://github.com/python-pillow/Pillow/issues)
168
+ - [Pull requests](https://github.com/python-pillow/Pillow/pulls)
169
+ - [Release notes](https://pillow.readthedocs.io/en/stable/releasenotes/index.html)
170
+ - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
171
+ - [Pre-fork](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst#pre-fork)
172
+
173
+ ## Report a Vulnerability
174
+
175
+ To report a security vulnerability, please follow the procedure described in the [Tidelift security policy](https://tidelift.com/docs/security).
vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/RECORD ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ PIL/BdfFontFile.py,sha256=Hnlsd7gTtt7gaY1ilXHP-co5ehkBQ8xml942d06MEno,3477
2
+ PIL/BlpImagePlugin.py,sha256=nWYUT5yejxCpxAl9oAUHaA89Et8CqJ7OGgIwcMI-B40,16366
3
+ PIL/BmpImagePlugin.py,sha256=RtDGvt7CrktXhjkCvBMDtwopCYwojwG_Z5m706RTxIs,18565
4
+ PIL/BufrStubImagePlugin.py,sha256=PcwNafLqxrQ_RTsz7hAqfpLWcQHT-kXKYPLaB46ZtUA,1753
5
+ PIL/ContainerIO.py,sha256=0lHPzJmOqWx2XK_oBQeiwBbr8Y6xT182Y72q_yj6wIo,3181
6
+ PIL/CurImagePlugin.py,sha256=sBx86STAUlA-_akYanPSYN2fl5ArGHHOpUjQKwfYHSI,1764
7
+ PIL/DcxImagePlugin.py,sha256=K70qkwz-e3nkgjftD5pIElMcU2klHWFTKbINlwgeQ24,2034
8
+ PIL/DdsImagePlugin.py,sha256=Ij3vOfKqU0wh60SaE1Doqo3y7BM4sHpkQYTbHGdGdlc,16914
9
+ PIL/EpsImagePlugin.py,sha256=7E2GwPy9qdqLxhiGiQg5PpIMtRLaJf2sQ3cM_OEVwqU,16136
10
+ PIL/ExifTags.py,sha256=bMq60WOnExBhe-5A_in04puhqZq4E3Bgt5e5k5Hre-o,9753
11
+ PIL/FitsImagePlugin.py,sha256=K0SDAgyb9AR6qSEsEJPeysuTacCgfaJU8sCcNaiKMtE,4593
12
+ PIL/FliImagePlugin.py,sha256=2qnMYLNrLrPO5jCGM48oJCMQs2veXjy5ZTig2UDR5rE,4611
13
+ PIL/FontFile.py,sha256=St7MxO5Q-oakCLWn3ZrgrtaT3wSsmAarxm8AU-G8Moc,3577
14
+ PIL/FpxImagePlugin.py,sha256=8pIIfMdyIcREPakLaMcDVad99ha-6t3daADwcxGKwok,7060
15
+ PIL/FtexImagePlugin.py,sha256=2sF3hZrbjn2Fx5Lb5fV-8YT-06qu6KEoKR8M1QG2P_c,3502
16
+ PIL/GbrImagePlugin.py,sha256=0yR3E8-BJL773L05aAK4SRJ2NtV-6VzG4SxmojLrh-0,2968
17
+ PIL/GdImageFile.py,sha256=bHdFfO9rqxiBI9hLpJQVRv0rLj1boWc-nea9rFgIBVs,2795
18
+ PIL/GifImagePlugin.py,sha256=PYeLvZlA0sx1FKUYL3T7ce-qUf5ZLamYq66UcTLgCWs,39745
19
+ PIL/GimpGradientFile.py,sha256=ABNhtD50Gv82Dn1VxbdgfSIz3Q2_nPiv_zDquOYyVAw,3898
20
+ PIL/GimpPaletteFile.py,sha256=mK8RqdS7Ae9W7gZ7NB7MkyzuOqhC6Z09_OsLkxCJoak,1427
21
+ PIL/GribStubImagePlugin.py,sha256=hzsipSut7wvQ14P5fx7mkGtLj2TWKZk7OwSiFstB194,1747
22
+ PIL/Hdf5StubImagePlugin.py,sha256=6bSeB8RJaWqdU3-xwnJIWtGBZjpM0QnpcM8974UWN90,1750
23
+ PIL/IcnsImagePlugin.py,sha256=YsmWyyeqIwbRlfM9yHK2NqSgIqezE43cTjXV023NlSM,12006
24
+ PIL/IcoImagePlugin.py,sha256=nTE5xojDHCOYgQ0DKFh1Rvsat7qe7Lhbln-FYL6EpTY,11787
25
+ PIL/ImImagePlugin.py,sha256=WgT9fO2MOj7NtKiTA3kx7FcD1-ekh0srcokYWm9COnU,11120
26
+ PIL/Image.py,sha256=gPJ52HARC4Rx_-beeVYC9H0sJfRbiF5HTeE2i0aNG7Y,142522
27
+ PIL/ImageChops.py,sha256=GEjlymcoDtA5OOeIxQVIX96BD-s6AXhb7TmSLYn2tUg,7946
28
+ PIL/ImageCms.py,sha256=J6KTaQ3301Vyk35d99I-ZqvtTmCj1RC-Vz1e-BKjVH0,42024
29
+ PIL/ImageColor.py,sha256=IGA9C2umeED_EzS2Cvj6KsU0VutC9RstWIYPe8uDsVk,9441
30
+ PIL/ImageDraw.py,sha256=0en6U820tXtUfpEvawuVO_2qYZyu-q_W-OOZmgu-ZN8,41322
31
+ PIL/ImageDraw2.py,sha256=3pDY-NrZeZuMjUzou8aKCZp1hH-eD-Wa726omwH2JpQ,6023
32
+ PIL/ImageEnhance.py,sha256=kU1z5JhgqA4BVsWcLuvdop0oCnSGviONP31csQlR-xY,3383
33
+ PIL/ImageFile.py,sha256=5SofGUBtuftZbFP-MgVpr68Wva7exBJ6LNVAx2z6qSg,25037
34
+ PIL/ImageFilter.py,sha256=Lp2XmabZOZRg6OBoqIrwukc0xl-Uqa7HxI2EoYWKCbg,18670
35
+ PIL/ImageFont.py,sha256=1s8appa__nJyGEzylzHotRqiMC7jBj-iE13Z65vgAYo,62067
36
+ PIL/ImageGrab.py,sha256=B0ujDFUOCKusImJtXtMXXqKbs9YKr21ujfIt1hSy8qQ,6358
37
+ PIL/ImageMath.py,sha256=6lPulaD5geLyF7w5oxXVvH8nC_-YD9FXQ0SqRxJsJGQ,11478
38
+ PIL/ImageMode.py,sha256=5yOxODAZ7jG03DsUFrt7eQayTtIpWPgvfyhlXDWwcv8,2681
39
+ PIL/ImageMorph.py,sha256=c2WliTO5k1PAAFet31W4hmTBDXgbN85TflwnOHIZrjA,8555
40
+ PIL/ImageOps.py,sha256=-C-zNKyvf2lBNyEYhxeb_dkIyB0F0GJZzQgz-uVGXEg,25012
41
+ PIL/ImagePalette.py,sha256=XDRJOGI6hj8pjfgJBGPb4AWKEXaCf92etcFWgpM3VHs,8970
42
+ PIL/ImagePath.py,sha256=5yUG5XCUil1KKTTA_8PgGhcmg-mnue-GK0FwTBlhjw4,371
43
+ PIL/ImageQt.py,sha256=k7QCXKgiY5IexiJcSfKy6izQyz08rXbGnA2n3k7Pnts,5906
44
+ PIL/ImageSequence.py,sha256=j-i3HxuBqkVFPPZSRerCeRlkAYG0orFkWc9mG5IhYSM,2192
45
+ PIL/ImageShow.py,sha256=CX0WcFt6gcwMzbt-RjIsj5zJlQzhck0QzoDJcSjclbk,10028
46
+ PIL/ImageStat.py,sha256=S43FZ89r_u4hKCj59lVuWpyVJfhbUy3igXkp9DwaMgM,5325
47
+ PIL/ImageTk.py,sha256=-YvO5Twy4ExL8laDQZq2Q3iD02O7OfAdxtz_QCfgLmI,8609
48
+ PIL/ImageTransform.py,sha256=Ni41_73Wi1p6fXn37qpGFifvmnbqDjgNPpLXhd4i-AI,3859
49
+ PIL/ImageWin.py,sha256=elLKj_3cHyUKNAj3x-T3irSynePWJiy-BqqMVX6Z4Mk,7523
50
+ PIL/ImtImagePlugin.py,sha256=akFpmHvG8zULUaIzm97hjf4DvHNtwqv743cFivFZ8bA,2658
51
+ PIL/IptcImagePlugin.py,sha256=qyOg_ECIuWLBIEwOSxnAsEqIUixOmdjBfh9Y230SKVE,6135
52
+ PIL/Jpeg2KImagePlugin.py,sha256=bBvBCc6fFmzoed9C_px6G2ODv-6bLC4fLGxqaFLfjX8,12401
53
+ PIL/JpegImagePlugin.py,sha256=S7pIvPg79UzVGXLjEdkUUrYXMPauF46Hu5tJ71YsFSo,29859
54
+ PIL/JpegPresets.py,sha256=WBNUfD0CpQsEEtCPmELxmdFqBAJ6xN5RrYz4QqMfmK0,12422
55
+ PIL/McIdasImagePlugin.py,sha256=8ILYNfntSiZzzNuBD2Q4UQtjj3sIywPHVI4EeVXxJIo,1901
56
+ PIL/MicImagePlugin.py,sha256=ZGO3fHxD86oc_38y647Qd6875-13iycuzwhcdA3Bfso,2667
57
+ PIL/MpegImagePlugin.py,sha256=AplKMsPC9Y9ExJfqTE_xlm8TW-CSx578NGQWyVcmIiQ,2100
58
+ PIL/MpoImagePlugin.py,sha256=hjrpIRKF2UlnqD86i0g8qam5eStU-24J5jha__rlnWM,5847
59
+ PIL/MspImagePlugin.py,sha256=cuu46H15nZY-uT643KGLS9hS8pLRzT1fQMKTAlXVmMA,5836
60
+ PIL/PSDraw.py,sha256=xn_HgAAqVZj6hk1oICB5GjDPXcSIGzyHaB06cgozpXk,6983
61
+ PIL/PaletteFile.py,sha256=rC4YrlwwpJtl7RdPDnfl21HR4Vge3cAUw5Z6zicBqIk,1211
62
+ PIL/PalmImagePlugin.py,sha256=ejCFU4C0ZhCcvfzUWL4h8_meLlnMA2czTgEXTCJl1p0,9284
63
+ PIL/PcdImagePlugin.py,sha256=BXsw4s68ByoQMD1UQjdoPkMQ3M41u_sDclZgKyUPDws,1623
64
+ PIL/PcfFontFile.py,sha256=NPZQ0XkbGB8uTlGqgmIPGkwuLMYBdykDeVuvFgIC7JU,7147
65
+ PIL/PcxImagePlugin.py,sha256=yNHdqCpKMku4j2yh2A32EYERwJhPcr8_E-7McV4fr6I,6217
66
+ PIL/PdfImagePlugin.py,sha256=73vHq63tW4EsSiysSURmX96NhOOtKCKjp1Z18W4Eqe0,8916
67
+ PIL/PdfParser.py,sha256=zqeVzciNGv3AIbYKw386D6gx_AVDwg9Z9D0bTjbCTfA,34869
68
+ PIL/PixarImagePlugin.py,sha256=4ua-rSZO8m76N0GK_Z5OVEqtORmNK47he22GEaUiyxI,1746
69
+ PIL/PngImagePlugin.py,sha256=ZciuIznkaF3Ro6Oecv7iKfdwvZ96WCZtTAcHAJXC2FY,48566
70
+ PIL/PpmImagePlugin.py,sha256=FBiEI-l93MquYwCPRl8J-LkrE-EUcdlzQtDaUgZzIy0,12216
71
+ PIL/PsdImagePlugin.py,sha256=UZY8pYFq3RGXMkkvttzqLcBQwAeucUBK_9lthX_0AGw,8289
72
+ PIL/PyAccess.py,sha256=nI1CO15048im3-Ui9q6KqwacZEtsN3Q_GFwyYVaS5sI,10843
73
+ PIL/QoiImagePlugin.py,sha256=dK8g8ClweWcmRdoLadp1fb7Qn0ccTqKlqWIBnpoTCig,4146
74
+ PIL/SgiImagePlugin.py,sha256=FRcHgPE9z3wf-6vmovvo0Han-Mi05uhR-cC40A4Xm84,6445
75
+ PIL/SpiderImagePlugin.py,sha256=xQaLV9Z0gpxYeLkn7JyVVK_OO7NBfh7N7lBZi8t6CgU,10054
76
+ PIL/SunImagePlugin.py,sha256=cIl8g1mDTT7mwYlp-PswH7AHxdrTf8g7CyiLcMlqUUA,4499
77
+ PIL/TarIO.py,sha256=gh19oHdyVhgKniKSDsEB2GxiMDT5lgAZfUs-pUQFaWw,1584
78
+ PIL/TgaImagePlugin.py,sha256=QKasL7zyr5MZ1POvk71RN8Y7O-q9GHqLKbKqd6BM44w,6942
79
+ PIL/TiffImagePlugin.py,sha256=p0i8JZXBtdB_HPuO_7mWFg9hWtr3UcUnkTztClbY-i0,78228
80
+ PIL/TiffTags.py,sha256=JeQ9iZH5Vx9rbDhlVO2ETFJgzLdMPfbUbPmTZ345dmo,16715
81
+ PIL/WalImageFile.py,sha256=OQ07uBmbAyrKUjxXtLbdv29B6TlSU3EsidJiAH6HuQY,5563
82
+ PIL/WebPImagePlugin.py,sha256=0dSTsc_8UB75Wo0zooXiKbAedCop97fhjDapVwc6QDs,11528
83
+ PIL/WmfImagePlugin.py,sha256=uZAyCbpr2QANes5CpHQedWM0fCSJarMS8nlrQMKhXkQ,4983
84
+ PIL/XVThumbImagePlugin.py,sha256=NbTby5A2QdDemhe6uDFfV1R1gmbpbxWV_-62h0sNyXU,2081
85
+ PIL/XbmImagePlugin.py,sha256=X-osASZoiQp7kje0bk2ROFEBzkgciiLnfqOziA7HUtA,2649
86
+ PIL/XpmImagePlugin.py,sha256=M9Z4vEuxuQwKypkibk-_dJThrRFI0KkLFEpNGpxs78o,3219
87
+ PIL/__init__.py,sha256=fJUwPGhI8_mcB8jNWD-hUw7MiMJyWgqVX_nFtzIj1Zs,2008
88
+ PIL/__main__.py,sha256=Lpj4vef8mI7jA1sRCUAoVYaeePD_Uc898xF5c7XLx1A,133
89
+ PIL/__pycache__/BdfFontFile.cpython-310.pyc,,
90
+ PIL/__pycache__/BlpImagePlugin.cpython-310.pyc,,
91
+ PIL/__pycache__/BmpImagePlugin.cpython-310.pyc,,
92
+ PIL/__pycache__/BufrStubImagePlugin.cpython-310.pyc,,
93
+ PIL/__pycache__/ContainerIO.cpython-310.pyc,,
94
+ PIL/__pycache__/CurImagePlugin.cpython-310.pyc,,
95
+ PIL/__pycache__/DcxImagePlugin.cpython-310.pyc,,
96
+ PIL/__pycache__/DdsImagePlugin.cpython-310.pyc,,
97
+ PIL/__pycache__/EpsImagePlugin.cpython-310.pyc,,
98
+ PIL/__pycache__/ExifTags.cpython-310.pyc,,
99
+ PIL/__pycache__/FitsImagePlugin.cpython-310.pyc,,
100
+ PIL/__pycache__/FliImagePlugin.cpython-310.pyc,,
101
+ PIL/__pycache__/FontFile.cpython-310.pyc,,
102
+ PIL/__pycache__/FpxImagePlugin.cpython-310.pyc,,
103
+ PIL/__pycache__/FtexImagePlugin.cpython-310.pyc,,
104
+ PIL/__pycache__/GbrImagePlugin.cpython-310.pyc,,
105
+ PIL/__pycache__/GdImageFile.cpython-310.pyc,,
106
+ PIL/__pycache__/GifImagePlugin.cpython-310.pyc,,
107
+ PIL/__pycache__/GimpGradientFile.cpython-310.pyc,,
108
+ PIL/__pycache__/GimpPaletteFile.cpython-310.pyc,,
109
+ PIL/__pycache__/GribStubImagePlugin.cpython-310.pyc,,
110
+ PIL/__pycache__/Hdf5StubImagePlugin.cpython-310.pyc,,
111
+ PIL/__pycache__/IcnsImagePlugin.cpython-310.pyc,,
112
+ PIL/__pycache__/IcoImagePlugin.cpython-310.pyc,,
113
+ PIL/__pycache__/ImImagePlugin.cpython-310.pyc,,
114
+ PIL/__pycache__/Image.cpython-310.pyc,,
115
+ PIL/__pycache__/ImageChops.cpython-310.pyc,,
116
+ PIL/__pycache__/ImageCms.cpython-310.pyc,,
117
+ PIL/__pycache__/ImageColor.cpython-310.pyc,,
118
+ PIL/__pycache__/ImageDraw.cpython-310.pyc,,
119
+ PIL/__pycache__/ImageDraw2.cpython-310.pyc,,
120
+ PIL/__pycache__/ImageEnhance.cpython-310.pyc,,
121
+ PIL/__pycache__/ImageFile.cpython-310.pyc,,
122
+ PIL/__pycache__/ImageFilter.cpython-310.pyc,,
123
+ PIL/__pycache__/ImageFont.cpython-310.pyc,,
124
+ PIL/__pycache__/ImageGrab.cpython-310.pyc,,
125
+ PIL/__pycache__/ImageMath.cpython-310.pyc,,
126
+ PIL/__pycache__/ImageMode.cpython-310.pyc,,
127
+ PIL/__pycache__/ImageMorph.cpython-310.pyc,,
128
+ PIL/__pycache__/ImageOps.cpython-310.pyc,,
129
+ PIL/__pycache__/ImagePalette.cpython-310.pyc,,
130
+ PIL/__pycache__/ImagePath.cpython-310.pyc,,
131
+ PIL/__pycache__/ImageQt.cpython-310.pyc,,
132
+ PIL/__pycache__/ImageSequence.cpython-310.pyc,,
133
+ PIL/__pycache__/ImageShow.cpython-310.pyc,,
134
+ PIL/__pycache__/ImageStat.cpython-310.pyc,,
135
+ PIL/__pycache__/ImageTk.cpython-310.pyc,,
136
+ PIL/__pycache__/ImageTransform.cpython-310.pyc,,
137
+ PIL/__pycache__/ImageWin.cpython-310.pyc,,
138
+ PIL/__pycache__/ImtImagePlugin.cpython-310.pyc,,
139
+ PIL/__pycache__/IptcImagePlugin.cpython-310.pyc,,
140
+ PIL/__pycache__/Jpeg2KImagePlugin.cpython-310.pyc,,
141
+ PIL/__pycache__/JpegImagePlugin.cpython-310.pyc,,
142
+ PIL/__pycache__/JpegPresets.cpython-310.pyc,,
143
+ PIL/__pycache__/McIdasImagePlugin.cpython-310.pyc,,
144
+ PIL/__pycache__/MicImagePlugin.cpython-310.pyc,,
145
+ PIL/__pycache__/MpegImagePlugin.cpython-310.pyc,,
146
+ PIL/__pycache__/MpoImagePlugin.cpython-310.pyc,,
147
+ PIL/__pycache__/MspImagePlugin.cpython-310.pyc,,
148
+ PIL/__pycache__/PSDraw.cpython-310.pyc,,
149
+ PIL/__pycache__/PaletteFile.cpython-310.pyc,,
150
+ PIL/__pycache__/PalmImagePlugin.cpython-310.pyc,,
151
+ PIL/__pycache__/PcdImagePlugin.cpython-310.pyc,,
152
+ PIL/__pycache__/PcfFontFile.cpython-310.pyc,,
153
+ PIL/__pycache__/PcxImagePlugin.cpython-310.pyc,,
154
+ PIL/__pycache__/PdfImagePlugin.cpython-310.pyc,,
155
+ PIL/__pycache__/PdfParser.cpython-310.pyc,,
156
+ PIL/__pycache__/PixarImagePlugin.cpython-310.pyc,,
157
+ PIL/__pycache__/PngImagePlugin.cpython-310.pyc,,
158
+ PIL/__pycache__/PpmImagePlugin.cpython-310.pyc,,
159
+ PIL/__pycache__/PsdImagePlugin.cpython-310.pyc,,
160
+ PIL/__pycache__/PyAccess.cpython-310.pyc,,
161
+ PIL/__pycache__/QoiImagePlugin.cpython-310.pyc,,
162
+ PIL/__pycache__/SgiImagePlugin.cpython-310.pyc,,
163
+ PIL/__pycache__/SpiderImagePlugin.cpython-310.pyc,,
164
+ PIL/__pycache__/SunImagePlugin.cpython-310.pyc,,
165
+ PIL/__pycache__/TarIO.cpython-310.pyc,,
166
+ PIL/__pycache__/TgaImagePlugin.cpython-310.pyc,,
167
+ PIL/__pycache__/TiffImagePlugin.cpython-310.pyc,,
168
+ PIL/__pycache__/TiffTags.cpython-310.pyc,,
169
+ PIL/__pycache__/WalImageFile.cpython-310.pyc,,
170
+ PIL/__pycache__/WebPImagePlugin.cpython-310.pyc,,
171
+ PIL/__pycache__/WmfImagePlugin.cpython-310.pyc,,
172
+ PIL/__pycache__/XVThumbImagePlugin.cpython-310.pyc,,
173
+ PIL/__pycache__/XbmImagePlugin.cpython-310.pyc,,
174
+ PIL/__pycache__/XpmImagePlugin.cpython-310.pyc,,
175
+ PIL/__pycache__/__init__.cpython-310.pyc,,
176
+ PIL/__pycache__/__main__.cpython-310.pyc,,
177
+ PIL/__pycache__/_binary.cpython-310.pyc,,
178
+ PIL/__pycache__/_deprecate.cpython-310.pyc,,
179
+ PIL/__pycache__/_tkinter_finder.cpython-310.pyc,,
180
+ PIL/__pycache__/_typing.cpython-310.pyc,,
181
+ PIL/__pycache__/_util.cpython-310.pyc,,
182
+ PIL/__pycache__/_version.cpython-310.pyc,,
183
+ PIL/__pycache__/features.cpython-310.pyc,,
184
+ PIL/__pycache__/report.cpython-310.pyc,,
185
+ PIL/_binary.py,sha256=pcM6AL04GxgmGeLfcH1V1BZHENwIrQH0uxhJ7r0HIL0,2550
186
+ PIL/_deprecate.py,sha256=Kt1jv0PTNdqqZksTO2g6XIXgnglkUv3ILRQ8nlP1IKc,2000
187
+ PIL/_imaging.cpython-310-x86_64-linux-gnu.so,sha256=YeuauxMLM_zljygj7hNusih9LE9Nlr7A0oj1hUPw-l0,3045689
188
+ PIL/_imaging.pyi,sha256=Km4dRUv7jeUTCkx89bsQgRPRe42z1oEGK69t35K-z0A,816
189
+ PIL/_imagingcms.cpython-310-x86_64-linux-gnu.so,sha256=U4-L10dd7uqy4nwk5jOF4V_12_yNMJQbTnGqWdMJVC8,141305
190
+ PIL/_imagingcms.pyi,sha256=2QvVeGteGKKAtMFizNgvkczRiVPoDL1PYDfEyZ1rPHI,4339
191
+ PIL/_imagingft.cpython-310-x86_64-linux-gnu.so,sha256=aRc4qohieNR7FsEi1hyT2IL1uK_KRQyUsx41eipv1xY,281873
192
+ PIL/_imagingft.pyi,sha256=kWCwmA5kqvoPOcVYTVZoNmKj9dWkrkXNvAU5tdsKPdY,1679
193
+ PIL/_imagingmath.cpython-310-x86_64-linux-gnu.so,sha256=e5JOWgFjfe9dWGpyjqptk18YXE8UZJnP59_sMI8TNOw,149184
194
+ PIL/_imagingmath.pyi,sha256=3fBxcSppJr6EOEcUojvflG3Eegg7lv2Qp0dNQQILrP4,63
195
+ PIL/_imagingmorph.cpython-310-x86_64-linux-gnu.so,sha256=nDEIRZ91eOw6BDg_-NGlbQxxjoza4AgxD1wR3sZRFPU,37728
196
+ PIL/_imagingmorph.pyi,sha256=3fBxcSppJr6EOEcUojvflG3Eegg7lv2Qp0dNQQILrP4,63
197
+ PIL/_imagingtk.cpython-310-x86_64-linux-gnu.so,sha256=qhDLWRLl06TUAF9js82xixuJbmTQSe7xq49ldXOgleE,44232
198
+ PIL/_tkinter_finder.py,sha256=CECvYrzWNc7BuzzR_mWZZKjPdADg6iRG8ilJToyjD3w,540
199
+ PIL/_typing.py,sha256=CXp_0BHS0oosbzsAkgFzsn_jtWhFHjhexwyNDi_Vdr4,851
200
+ PIL/_util.py,sha256=v7VPRZplBw3JU4o1ilkG5Fh2sSNF1kdRdjf1vhrxwKU,813
201
+ PIL/_version.py,sha256=GCP8_FGnOYLQxdMV6rdu1229lOC_zIfYKf-6stQNJSE,87
202
+ PIL/_webp.cpython-310-x86_64-linux-gnu.so,sha256=p2Cyd6cuyxI2zRhl468e_Z2AvVLoVXokCu2wcNIBGNw,96761
203
+ PIL/_webp.pyi,sha256=3fBxcSppJr6EOEcUojvflG3Eegg7lv2Qp0dNQQILrP4,63
204
+ PIL/features.py,sha256=WJTP33hgqKT88aRq0p3grRTE0K5wZ7fCI3pXRZI5dOM,10513
205
+ PIL/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
206
+ PIL/report.py,sha256=4JY6-IU7sH1RKuRbOvy1fUt0dAoi79FX4tYJN3p1DT0,100
207
+ pillow-10.4.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
208
+ pillow-10.4.0.dist-info/LICENSE,sha256=DO-Z-d_U91IsODM1lUFv-5YCPbK4M4_hCIpb_JdwUuQ,60073
209
+ pillow-10.4.0.dist-info/METADATA,sha256=Lt2Tz2XQj1cpxT1CLZwdJXvg7v2TbIaveTvy6QphsQA,9167
210
+ pillow-10.4.0.dist-info/RECORD,,
211
+ pillow-10.4.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
212
+ pillow-10.4.0.dist-info/WHEEL,sha256=jNzGoCTsMnGK_mE1T3SPtnOiPIxXJTeT1SrXgdfl0wA,113
213
+ pillow-10.4.0.dist-info/top_level.txt,sha256=riZqrk-hyZqh5f1Z0Zwii3dKfxEsByhu9cU9IODF-NY,4
214
+ pillow-10.4.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
215
+ pillow.libs/libXau-154567c4.so.6.0.0,sha256=BUhNJL94y47QMWnxywZyBNgpy3ryHeiCBADSnRFeQyA,22081
216
+ pillow.libs/libbrotlicommon-3ecfe81c.so.1,sha256=AkvHYFUCz_1Fs_fD83_gQ2lMw7S0y385rzuacnk-TC4,144425
217
+ pillow.libs/libbrotlidec-ba690955.so.1,sha256=qHImANFeNwTIVZqCSbgY9uMGBD4hJMAHvlXY3LPT2Xw,58225
218
+ pillow.libs/libfreetype-be14bf51.so.6.20.1,sha256=KiF4qToQiuFFITKCWClquJanf19SDqKly2bXWDjML18,1422625
219
+ pillow.libs/libharfbuzz-89381d8f.so.0.60850.0,sha256=M8OmZUrahqCzi1wrzY8W0F358qoVdbKop_njzyEc4gA,3426361
220
+ pillow.libs/libjpeg-77ae51ab.so.62.4.0,sha256=YrlDd39g449t_KNpyWmK8qZyYGHt3gI9YkyuHgHRiN0,815793
221
+ pillow.libs/liblcms2-e69eef39.so.2.0.16,sha256=UQTCSMFJmLMb4ysnVA7dF61pXYQknF8Zj48j1wO3Ca4,514977
222
+ pillow.libs/liblzma-13fa198c.so.5.4.5,sha256=v4hBIG7N7aCw8rUQNhs0Esf3qskZdM5UApcqdWFMk00,270265
223
+ pillow.libs/libopenjp2-05423b53.so,sha256=Lroq67mZpN4s9UHScYQnPp529VmcpoWJFepjv7W8PYw,581737
224
+ pillow.libs/libpng16-58efbb84.so.16.43.0,sha256=k6oKmP5pSJD0Y5Ko1XHgFueUy9hwbZnnvNVd1GwgIiw,281913
225
+ pillow.libs/libsharpyuv-898c0cb5.so.0.1.0,sha256=bLhOQVaHxGaIxoMVt2jDOIVPCDoe1xAzDyq9ctY67vI,42049
226
+ pillow.libs/libtiff-0a86184d.so.6.0.2,sha256=EzI0Wc1W0bbmJI0ur2uQZnFZUQfdtUlQMyCK61vazSE,725697
227
+ pillow.libs/libwebp-2fd3cdca.so.7.1.9,sha256=QYH5j5jfbAdui2eQ4oQKmpoIVmRDKASsLoL7u5RvB2c,759849
228
+ pillow.libs/libwebpdemux-f2642bcc.so.2.0.15,sha256=83t-XUDOQwoi7xlQktfytthnjKQ_blF-b75-6cD1AUg,26121
229
+ pillow.libs/libwebpmux-d524b4d5.so.3.1.0,sha256=AnH0cbAZq5ykA9uE2dBGt0aPMN4Bd-mddmtq76m5Y0o,54521
230
+ pillow.libs/libxcb-b8a56d01.so.1.1.0,sha256=Yz7vOUQVQhxpfGuYa6ma3n98A2TVyKkOPeAaRNgkfxs,251425
vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (70.1.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-manylinux_2_28_x86_64
5
+
vllm/lib/python3.10/site-packages/pillow-10.4.0.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ PIL
vllm/lib/python3.10/site-packages/torio/lib/_torio_ffmpeg6.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:569b61c139e1f387729ed40ce3cb8f79c53045526bcad3cc5be9a1e6e249d72c
3
+ size 479712
vllm/lib/python3.10/site-packages/virtualenv/__init__.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from .run import cli_run, session_via_cli
4
+ from .version import __version__
5
+
6
+ __all__ = [
7
+ "__version__",
8
+ "cli_run",
9
+ "session_via_cli",
10
+ ]
vllm/lib/python3.10/site-packages/virtualenv/__main__.py ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ import os
5
+ import sys
6
+ from timeit import default_timer
7
+
8
+ LOGGER = logging.getLogger(__name__)
9
+
10
+
11
+ def run(args=None, options=None, env=None):
12
+ env = os.environ if env is None else env
13
+ start = default_timer()
14
+ from virtualenv.run import cli_run # noqa: PLC0415
15
+ from virtualenv.util.error import ProcessCallFailedError # noqa: PLC0415
16
+
17
+ if args is None:
18
+ args = sys.argv[1:]
19
+ try:
20
+ session = cli_run(args, options, env)
21
+ LOGGER.warning(LogSession(session, start))
22
+ except ProcessCallFailedError as exception:
23
+ print(f"subprocess call failed for {exception.cmd} with code {exception.code}") # noqa: T201
24
+ print(exception.out, file=sys.stdout, end="") # noqa: T201
25
+ print(exception.err, file=sys.stderr, end="") # noqa: T201
26
+ raise SystemExit(exception.code) # noqa: B904
27
+
28
+
29
+ class LogSession:
30
+ def __init__(self, session, start) -> None:
31
+ self.session = session
32
+ self.start = start
33
+
34
+ def __str__(self) -> str:
35
+ spec = self.session.creator.interpreter.spec
36
+ elapsed = (default_timer() - self.start) * 1000
37
+ lines = [
38
+ f"created virtual environment {spec} in {elapsed:.0f}ms",
39
+ f" creator {self.session.creator!s}",
40
+ ]
41
+ if self.session.seeder.enabled:
42
+ lines.append(f" seeder {self.session.seeder!s}")
43
+ path = self.session.creator.purelib.iterdir()
44
+ packages = sorted("==".join(i.stem.split("-")) for i in path if i.suffix == ".dist-info")
45
+ lines.append(f" added seed packages: {', '.join(packages)}")
46
+
47
+ if self.session.activators:
48
+ lines.append(f" activators {','.join(i.__class__.__name__ for i in self.session.activators)}")
49
+ return "\n".join(lines)
50
+
51
+
52
+ def run_with_catch(args=None, env=None):
53
+ from virtualenv.config.cli.parser import VirtualEnvOptions # noqa: PLC0415
54
+
55
+ env = os.environ if env is None else env
56
+ options = VirtualEnvOptions()
57
+ try:
58
+ run(args, options, env)
59
+ except (KeyboardInterrupt, SystemExit, Exception) as exception:
60
+ try:
61
+ if getattr(options, "with_traceback", False):
62
+ raise
63
+ if not (isinstance(exception, SystemExit) and exception.code == 0):
64
+ LOGGER.error("%s: %s", type(exception).__name__, exception) # noqa: TRY400
65
+ code = exception.code if isinstance(exception, SystemExit) else 1
66
+ sys.exit(code)
67
+ finally:
68
+ for handler in LOGGER.handlers: # force flush of log messages before the trace is printed
69
+ handler.flush()
70
+
71
+
72
+ if __name__ == "__main__": # pragma: no cov
73
+ run_with_catch() # pragma: no cov
vllm/lib/python3.10/site-packages/virtualenv/app_data/__init__.py ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Application data stored by virtualenv."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import logging
6
+ import os
7
+
8
+ from platformdirs import user_data_dir
9
+
10
+ from .na import AppDataDisabled
11
+ from .read_only import ReadOnlyAppData
12
+ from .via_disk_folder import AppDataDiskFolder
13
+ from .via_tempdir import TempAppData
14
+
15
+ LOGGER = logging.getLogger(__name__)
16
+
17
+
18
+ def _default_app_data_dir(env):
19
+ key = "VIRTUALENV_OVERRIDE_APP_DATA"
20
+ if key in env:
21
+ return env[key]
22
+ return user_data_dir(appname="virtualenv", appauthor="pypa")
23
+
24
+
25
+ def make_app_data(folder, **kwargs):
26
+ is_read_only = kwargs.pop("read_only")
27
+ env = kwargs.pop("env")
28
+ if kwargs: # py3+ kwonly
29
+ msg = "unexpected keywords: {}"
30
+ raise TypeError(msg)
31
+
32
+ if folder is None:
33
+ folder = _default_app_data_dir(env)
34
+ folder = os.path.abspath(folder)
35
+
36
+ if is_read_only:
37
+ return ReadOnlyAppData(folder)
38
+
39
+ if not os.path.isdir(folder):
40
+ try:
41
+ os.makedirs(folder)
42
+ LOGGER.debug("created app data folder %s", folder)
43
+ except OSError as exception:
44
+ LOGGER.info("could not create app data folder %s due to %r", folder, exception)
45
+
46
+ if os.access(folder, os.W_OK):
47
+ return AppDataDiskFolder(folder)
48
+ LOGGER.debug("app data folder %s has no write access", folder)
49
+ return TempAppData()
50
+
51
+
52
+ __all__ = (
53
+ "AppDataDisabled",
54
+ "AppDataDiskFolder",
55
+ "ReadOnlyAppData",
56
+ "TempAppData",
57
+ "make_app_data",
58
+ )
vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (1.52 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/base.cpython-310.pyc ADDED
Binary file (3.28 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/na.cpython-310.pyc ADDED
Binary file (2.95 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/read_only.cpython-310.pyc ADDED
Binary file (1.99 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/via_disk_folder.cpython-310.pyc ADDED
Binary file (7.38 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/app_data/__pycache__/via_tempdir.cpython-310.pyc ADDED
Binary file (1.51 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/app_data/base.py ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Application data stored by virtualenv."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from abc import ABC, abstractmethod
6
+ from contextlib import contextmanager
7
+
8
+ from virtualenv.info import IS_ZIPAPP
9
+
10
+
11
+ class AppData(ABC):
12
+ """Abstract storage interface for the virtualenv application."""
13
+
14
+ @abstractmethod
15
+ def close(self):
16
+ """Called before virtualenv exits."""
17
+
18
+ @abstractmethod
19
+ def reset(self):
20
+ """Called when the user passes in the reset app data."""
21
+
22
+ @abstractmethod
23
+ def py_info(self, path):
24
+ raise NotImplementedError
25
+
26
+ @abstractmethod
27
+ def py_info_clear(self):
28
+ raise NotImplementedError
29
+
30
+ @property
31
+ def can_update(self):
32
+ raise NotImplementedError
33
+
34
+ @abstractmethod
35
+ def embed_update_log(self, distribution, for_py_version):
36
+ raise NotImplementedError
37
+
38
+ @property
39
+ def house(self):
40
+ raise NotImplementedError
41
+
42
+ @property
43
+ def transient(self):
44
+ raise NotImplementedError
45
+
46
+ @abstractmethod
47
+ def wheel_image(self, for_py_version, name):
48
+ raise NotImplementedError
49
+
50
+ @contextmanager
51
+ def ensure_extracted(self, path, to_folder=None):
52
+ """Some paths might be within the zipapp, unzip these to a path on the disk."""
53
+ if IS_ZIPAPP:
54
+ with self.extract(path, to_folder) as result:
55
+ yield result
56
+ else:
57
+ yield path
58
+
59
+ @abstractmethod
60
+ @contextmanager
61
+ def extract(self, path, to_folder):
62
+ raise NotImplementedError
63
+
64
+ @abstractmethod
65
+ @contextmanager
66
+ def locked(self, path):
67
+ raise NotImplementedError
68
+
69
+
70
+ class ContentStore(ABC):
71
+ @abstractmethod
72
+ def exists(self):
73
+ raise NotImplementedError
74
+
75
+ @abstractmethod
76
+ def read(self):
77
+ raise NotImplementedError
78
+
79
+ @abstractmethod
80
+ def write(self, content):
81
+ raise NotImplementedError
82
+
83
+ @abstractmethod
84
+ def remove(self):
85
+ raise NotImplementedError
86
+
87
+ @abstractmethod
88
+ @contextmanager
89
+ def locked(self):
90
+ pass
91
+
92
+
93
+ __all__ = [
94
+ "AppData",
95
+ "ContentStore",
96
+ ]
vllm/lib/python3.10/site-packages/virtualenv/app_data/na.py ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from contextlib import contextmanager
4
+
5
+ from .base import AppData, ContentStore
6
+
7
+
8
+ class AppDataDisabled(AppData):
9
+ """No application cache available (most likely as we don't have write permissions)."""
10
+
11
+ transient = True
12
+ can_update = False
13
+
14
+ def __init__(self) -> None:
15
+ pass
16
+
17
+ error = RuntimeError("no app data folder available, probably no write access to the folder")
18
+
19
+ def close(self):
20
+ """Do nothing."""
21
+
22
+ def reset(self):
23
+ """Do nothing."""
24
+
25
+ def py_info(self, path): # noqa: ARG002
26
+ return ContentStoreNA()
27
+
28
+ def embed_update_log(self, distribution, for_py_version): # noqa: ARG002
29
+ return ContentStoreNA()
30
+
31
+ def extract(self, path, to_folder): # noqa: ARG002
32
+ raise self.error
33
+
34
+ @contextmanager
35
+ def locked(self, path): # noqa: ARG002
36
+ """Do nothing."""
37
+ yield
38
+
39
+ @property
40
+ def house(self):
41
+ raise self.error
42
+
43
+ def wheel_image(self, for_py_version, name): # noqa: ARG002
44
+ raise self.error
45
+
46
+ def py_info_clear(self):
47
+ """Nothing to clear."""
48
+
49
+
50
+ class ContentStoreNA(ContentStore):
51
+ def exists(self):
52
+ return False
53
+
54
+ def read(self):
55
+ """Nothing to read."""
56
+ return
57
+
58
+ def write(self, content):
59
+ """Nothing to write."""
60
+
61
+ def remove(self):
62
+ """Nothing to remove."""
63
+
64
+ @contextmanager
65
+ def locked(self):
66
+ yield
67
+
68
+
69
+ __all__ = [
70
+ "AppDataDisabled",
71
+ "ContentStoreNA",
72
+ ]
vllm/lib/python3.10/site-packages/virtualenv/app_data/read_only.py ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import os.path
4
+
5
+ from virtualenv.util.lock import NoOpFileLock
6
+
7
+ from .via_disk_folder import AppDataDiskFolder, PyInfoStoreDisk
8
+
9
+
10
+ class ReadOnlyAppData(AppDataDiskFolder):
11
+ can_update = False
12
+
13
+ def __init__(self, folder: str) -> None:
14
+ if not os.path.isdir(folder):
15
+ msg = f"read-only app data directory {folder} does not exist"
16
+ raise RuntimeError(msg)
17
+ super().__init__(folder)
18
+ self.lock = NoOpFileLock(folder)
19
+
20
+ def reset(self) -> None:
21
+ msg = "read-only app data does not support reset"
22
+ raise RuntimeError(msg)
23
+
24
+ def py_info_clear(self) -> None:
25
+ raise NotImplementedError
26
+
27
+ def py_info(self, path):
28
+ return _PyInfoStoreDiskReadOnly(self.py_info_at, path)
29
+
30
+ def embed_update_log(self, distribution, for_py_version):
31
+ raise NotImplementedError
32
+
33
+
34
+ class _PyInfoStoreDiskReadOnly(PyInfoStoreDisk):
35
+ def write(self, content): # noqa: ARG002
36
+ msg = "read-only app data python info cannot be updated"
37
+ raise RuntimeError(msg)
38
+
39
+
40
+ __all__ = [
41
+ "ReadOnlyAppData",
42
+ ]
vllm/lib/python3.10/site-packages/virtualenv/app_data/via_disk_folder.py ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ A rough layout of the current storage goes as:
3
+
4
+ virtualenv-app-data
5
+ ├── py - <version> <cache information about python interpreters>
6
+ │ └── *.json/lock
7
+ ├── wheel <cache wheels used for seeding>
8
+ │ ├── house
9
+ │ │ └── *.whl <wheels downloaded go here>
10
+ │ └── <python major.minor> -> 3.9
11
+ │ ├── img-<version>
12
+ │ │ └── image
13
+ │ │ └── <install class> -> CopyPipInstall / SymlinkPipInstall
14
+ │ │ └── <wheel name> -> pip-20.1.1-py2.py3-none-any
15
+ │ └── embed
16
+ │ └── 3 -> json format versioning
17
+ │ └── *.json -> for every distribution contains data about newer embed versions and releases
18
+ └─── unzip <in zip app we cannot refer to some internal files, so first extract them>
19
+ └── <virtualenv version>
20
+ ├── py_info.py
21
+ ├── debug.py
22
+ └── _virtualenv.py
23
+ """ # noqa: D415
24
+
25
+ from __future__ import annotations
26
+
27
+ import json
28
+ import logging
29
+ from abc import ABC
30
+ from contextlib import contextmanager, suppress
31
+ from hashlib import sha256
32
+
33
+ from virtualenv.util.lock import ReentrantFileLock
34
+ from virtualenv.util.path import safe_delete
35
+ from virtualenv.util.zipapp import extract
36
+ from virtualenv.version import __version__
37
+
38
+ from .base import AppData, ContentStore
39
+
40
+ LOGGER = logging.getLogger(__name__)
41
+
42
+
43
+ class AppDataDiskFolder(AppData):
44
+ """Store the application data on the disk within a folder layout."""
45
+
46
+ transient = False
47
+ can_update = True
48
+
49
+ def __init__(self, folder) -> None:
50
+ self.lock = ReentrantFileLock(folder)
51
+
52
+ def __repr__(self) -> str:
53
+ return f"{type(self).__name__}({self.lock.path})"
54
+
55
+ def __str__(self) -> str:
56
+ return str(self.lock.path)
57
+
58
+ def reset(self):
59
+ LOGGER.debug("reset app data folder %s", self.lock.path)
60
+ safe_delete(self.lock.path)
61
+
62
+ def close(self):
63
+ """Do nothing."""
64
+
65
+ @contextmanager
66
+ def locked(self, path):
67
+ path_lock = self.lock / path
68
+ with path_lock:
69
+ yield path_lock.path
70
+
71
+ @contextmanager
72
+ def extract(self, path, to_folder):
73
+ root = ReentrantFileLock(to_folder()) if to_folder is not None else self.lock / "unzip" / __version__
74
+ with root.lock_for_key(path.name):
75
+ dest = root.path / path.name
76
+ if not dest.exists():
77
+ extract(path, dest)
78
+ yield dest
79
+
80
+ @property
81
+ def py_info_at(self):
82
+ return self.lock / "py_info" / "2"
83
+
84
+ def py_info(self, path):
85
+ return PyInfoStoreDisk(self.py_info_at, path)
86
+
87
+ def py_info_clear(self):
88
+ """clear py info."""
89
+ py_info_folder = self.py_info_at
90
+ with py_info_folder:
91
+ for filename in py_info_folder.path.iterdir():
92
+ if filename.suffix == ".json":
93
+ with py_info_folder.lock_for_key(filename.stem):
94
+ if filename.exists():
95
+ filename.unlink()
96
+
97
+ def embed_update_log(self, distribution, for_py_version):
98
+ return EmbedDistributionUpdateStoreDisk(self.lock / "wheel" / for_py_version / "embed" / "3", distribution)
99
+
100
+ @property
101
+ def house(self):
102
+ path = self.lock.path / "wheel" / "house"
103
+ path.mkdir(parents=True, exist_ok=True)
104
+ return path
105
+
106
+ def wheel_image(self, for_py_version, name):
107
+ return self.lock.path / "wheel" / for_py_version / "image" / "1" / name
108
+
109
+
110
+ class JSONStoreDisk(ContentStore, ABC):
111
+ def __init__(self, in_folder, key, msg, msg_args) -> None:
112
+ self.in_folder = in_folder
113
+ self.key = key
114
+ self.msg = msg
115
+ self.msg_args = (*msg_args, self.file)
116
+
117
+ @property
118
+ def file(self):
119
+ return self.in_folder.path / f"{self.key}.json"
120
+
121
+ def exists(self):
122
+ return self.file.exists()
123
+
124
+ def read(self):
125
+ data, bad_format = None, False
126
+ try:
127
+ data = json.loads(self.file.read_text(encoding="utf-8"))
128
+ except ValueError:
129
+ bad_format = True
130
+ except Exception: # noqa: BLE001, S110
131
+ pass
132
+ else:
133
+ LOGGER.debug("got %s from %s", self.msg, self.msg_args)
134
+ return data
135
+ if bad_format:
136
+ with suppress(OSError): # reading and writing on the same file may cause race on multiple processes
137
+ self.remove()
138
+ return None
139
+
140
+ def remove(self):
141
+ self.file.unlink()
142
+ LOGGER.debug("removed %s at %s", self.msg, self.msg_args)
143
+
144
+ @contextmanager
145
+ def locked(self):
146
+ with self.in_folder.lock_for_key(self.key):
147
+ yield
148
+
149
+ def write(self, content):
150
+ folder = self.file.parent
151
+ folder.mkdir(parents=True, exist_ok=True)
152
+ self.file.write_text(json.dumps(content, sort_keys=True, indent=2), encoding="utf-8")
153
+ LOGGER.debug("wrote %s at %s", self.msg, self.msg_args)
154
+
155
+
156
+ class PyInfoStoreDisk(JSONStoreDisk):
157
+ def __init__(self, in_folder, path) -> None:
158
+ key = sha256(str(path).encode("utf-8")).hexdigest()
159
+ super().__init__(in_folder, key, "python info of %s", (path,))
160
+
161
+
162
+ class EmbedDistributionUpdateStoreDisk(JSONStoreDisk):
163
+ def __init__(self, in_folder, distribution) -> None:
164
+ super().__init__(
165
+ in_folder,
166
+ distribution,
167
+ "embed update of distribution %s",
168
+ (distribution,),
169
+ )
170
+
171
+
172
+ __all__ = [
173
+ "AppDataDiskFolder",
174
+ "JSONStoreDisk",
175
+ "PyInfoStoreDisk",
176
+ ]
vllm/lib/python3.10/site-packages/virtualenv/app_data/via_tempdir.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ from tempfile import mkdtemp
5
+
6
+ from virtualenv.util.path import safe_delete
7
+
8
+ from .via_disk_folder import AppDataDiskFolder
9
+
10
+ LOGGER = logging.getLogger(__name__)
11
+
12
+
13
+ class TempAppData(AppDataDiskFolder):
14
+ transient = True
15
+ can_update = False
16
+
17
+ def __init__(self) -> None:
18
+ super().__init__(folder=mkdtemp())
19
+ LOGGER.debug("created temporary app data folder %s", self.lock.path)
20
+
21
+ def reset(self):
22
+ """This is a temporary folder, is already empty to start with."""
23
+
24
+ def close(self):
25
+ LOGGER.debug("remove temporary app data folder %s", self.lock.path)
26
+ safe_delete(self.lock.path)
27
+
28
+ def embed_update_log(self, distribution, for_py_version):
29
+ raise NotImplementedError
30
+
31
+
32
+ __all__ = [
33
+ "TempAppData",
34
+ ]
vllm/lib/python3.10/site-packages/virtualenv/config/__init__.py ADDED
File without changes
vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (167 Bytes). View file
 
vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/convert.cpython-310.pyc ADDED
Binary file (3.68 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/env_var.cpython-310.pyc ADDED
Binary file (838 Bytes). View file
 
vllm/lib/python3.10/site-packages/virtualenv/config/__pycache__/ini.cpython-310.pyc ADDED
Binary file (2.71 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/config/cli/__init__.py ADDED
File without changes
vllm/lib/python3.10/site-packages/virtualenv/config/cli/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (171 Bytes). View file
 
vllm/lib/python3.10/site-packages/virtualenv/config/cli/__pycache__/parser.cpython-310.pyc ADDED
Binary file (5.48 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/config/cli/parser.py ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations # noqa: A005
2
+
3
+ import os
4
+ from argparse import SUPPRESS, ArgumentDefaultsHelpFormatter, ArgumentParser, Namespace
5
+ from collections import OrderedDict
6
+
7
+ from virtualenv.config.convert import get_type
8
+ from virtualenv.config.env_var import get_env_var
9
+ from virtualenv.config.ini import IniConfig
10
+
11
+
12
+ class VirtualEnvOptions(Namespace):
13
+ def __init__(self, **kwargs) -> None:
14
+ super().__init__(**kwargs)
15
+ self._src = None
16
+ self._sources = {}
17
+
18
+ def set_src(self, key, value, src):
19
+ setattr(self, key, value)
20
+ if src.startswith("env var"):
21
+ src = "env var"
22
+ self._sources[key] = src
23
+
24
+ def __setattr__(self, key, value) -> None:
25
+ if getattr(self, "_src", None) is not None:
26
+ self._sources[key] = self._src
27
+ super().__setattr__(key, value)
28
+
29
+ def get_source(self, key):
30
+ return self._sources.get(key)
31
+
32
+ @property
33
+ def verbosity(self):
34
+ if not hasattr(self, "verbose") and not hasattr(self, "quiet"):
35
+ return None
36
+ return max(self.verbose - self.quiet, 0)
37
+
38
+ def __repr__(self) -> str:
39
+ return f"{type(self).__name__}({', '.join(f'{k}={v}' for k, v in vars(self).items() if not k.startswith('_'))})"
40
+
41
+
42
+ class VirtualEnvConfigParser(ArgumentParser):
43
+ """Custom option parser which updates its defaults by checking the configuration files and environmental vars."""
44
+
45
+ def __init__(self, options=None, env=None, *args, **kwargs) -> None:
46
+ env = os.environ if env is None else env
47
+ self.file_config = IniConfig(env)
48
+ self.epilog_list = []
49
+ self.env = env
50
+ kwargs["epilog"] = self.file_config.epilog
51
+ kwargs["add_help"] = False
52
+ kwargs["formatter_class"] = HelpFormatter
53
+ kwargs["prog"] = "virtualenv"
54
+ super().__init__(*args, **kwargs)
55
+ self._fixed = set()
56
+ if options is not None and not isinstance(options, VirtualEnvOptions):
57
+ msg = "options must be of type VirtualEnvOptions"
58
+ raise TypeError(msg)
59
+ self.options = VirtualEnvOptions() if options is None else options
60
+ self._interpreter = None
61
+ self._app_data = None
62
+
63
+ def _fix_defaults(self):
64
+ for action in self._actions:
65
+ action_id = id(action)
66
+ if action_id not in self._fixed:
67
+ self._fix_default(action)
68
+ self._fixed.add(action_id)
69
+
70
+ def _fix_default(self, action):
71
+ if hasattr(action, "default") and hasattr(action, "dest") and action.default != SUPPRESS:
72
+ as_type = get_type(action)
73
+ names = OrderedDict((i.lstrip("-").replace("-", "_"), None) for i in action.option_strings)
74
+ outcome = None
75
+ for name in names:
76
+ outcome = get_env_var(name, as_type, self.env)
77
+ if outcome is not None:
78
+ break
79
+ if outcome is None and self.file_config:
80
+ for name in names:
81
+ outcome = self.file_config.get(name, as_type)
82
+ if outcome is not None:
83
+ break
84
+ if outcome is not None:
85
+ action.default, action.default_source = outcome
86
+ else:
87
+ outcome = action.default, "default"
88
+ self.options.set_src(action.dest, *outcome)
89
+
90
+ def enable_help(self):
91
+ self._fix_defaults()
92
+ self.add_argument("-h", "--help", action="help", default=SUPPRESS, help="show this help message and exit")
93
+
94
+ def parse_known_args(self, args=None, namespace=None):
95
+ if namespace is None:
96
+ namespace = self.options
97
+ elif namespace is not self.options:
98
+ msg = "can only pass in parser.options"
99
+ raise ValueError(msg)
100
+ self._fix_defaults()
101
+ self.options._src = "cli" # noqa: SLF001
102
+ try:
103
+ namespace.env = self.env
104
+ return super().parse_known_args(args, namespace=namespace)
105
+ finally:
106
+ self.options._src = None # noqa: SLF001
107
+
108
+
109
+ class HelpFormatter(ArgumentDefaultsHelpFormatter):
110
+ def __init__(self, prog) -> None:
111
+ super().__init__(prog, max_help_position=32, width=240)
112
+
113
+ def _get_help_string(self, action):
114
+ text = super()._get_help_string(action)
115
+ if hasattr(action, "default_source"):
116
+ default = " (default: %(default)s)"
117
+ if text.endswith(default):
118
+ text = f"{text[: -len(default)]} (default: %(default)s -> from %(default_source)s)"
119
+ return text
120
+
121
+
122
+ __all__ = [
123
+ "HelpFormatter",
124
+ "VirtualEnvConfigParser",
125
+ "VirtualEnvOptions",
126
+ ]
vllm/lib/python3.10/site-packages/virtualenv/config/convert.py ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ import os
5
+ from typing import ClassVar
6
+
7
+ LOGGER = logging.getLogger(__name__)
8
+
9
+
10
+ class TypeData:
11
+ def __init__(self, default_type, as_type) -> None:
12
+ self.default_type = default_type
13
+ self.as_type = as_type
14
+
15
+ def __repr__(self) -> str:
16
+ return f"{self.__class__.__name__}(base={self.default_type}, as={self.as_type})"
17
+
18
+ def convert(self, value):
19
+ return self.default_type(value)
20
+
21
+
22
+ class BoolType(TypeData):
23
+ BOOLEAN_STATES: ClassVar[dict[str, bool]] = {
24
+ "1": True,
25
+ "yes": True,
26
+ "true": True,
27
+ "on": True,
28
+ "0": False,
29
+ "no": False,
30
+ "false": False,
31
+ "off": False,
32
+ }
33
+
34
+ def convert(self, value):
35
+ if value.lower() not in self.BOOLEAN_STATES:
36
+ msg = f"Not a boolean: {value}"
37
+ raise ValueError(msg)
38
+ return self.BOOLEAN_STATES[value.lower()]
39
+
40
+
41
+ class NoneType(TypeData):
42
+ def convert(self, value):
43
+ if not value:
44
+ return None
45
+ return str(value)
46
+
47
+
48
+ class ListType(TypeData):
49
+ def _validate(self):
50
+ """no op."""
51
+
52
+ def convert(self, value, flatten=True): # noqa: ARG002, FBT002
53
+ values = self.split_values(value)
54
+ result = []
55
+ for a_value in values:
56
+ sub_values = a_value.split(os.pathsep)
57
+ result.extend(sub_values)
58
+ return [self.as_type(i) for i in result]
59
+
60
+ def split_values(self, value):
61
+ """
62
+ Split the provided value into a list.
63
+
64
+ First this is done by newlines. If there were no newlines in the text,
65
+ then we next try to split by comma.
66
+ """
67
+ if isinstance(value, (str, bytes)):
68
+ # Use `splitlines` rather than a custom check for whether there is
69
+ # more than one line. This ensures that the full `splitlines()`
70
+ # logic is supported here.
71
+ values = value.splitlines()
72
+ if len(values) <= 1:
73
+ values = value.split(",")
74
+ values = filter(None, [x.strip() for x in values])
75
+ else:
76
+ values = list(value)
77
+
78
+ return values
79
+
80
+
81
+ def convert(value, as_type, source):
82
+ """Convert the value as a given type where the value comes from the given source."""
83
+ try:
84
+ return as_type.convert(value)
85
+ except Exception as exception:
86
+ LOGGER.warning("%s failed to convert %r as %r because %r", source, value, as_type, exception)
87
+ raise
88
+
89
+
90
+ _CONVERT = {bool: BoolType, type(None): NoneType, list: ListType}
91
+
92
+
93
+ def get_type(action):
94
+ default_type = type(action.default)
95
+ as_type = default_type if action.type is None else action.type
96
+ return _CONVERT.get(default_type, TypeData)(default_type, as_type)
97
+
98
+
99
+ __all__ = [
100
+ "convert",
101
+ "get_type",
102
+ ]
vllm/lib/python3.10/site-packages/virtualenv/config/env_var.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from contextlib import suppress
4
+
5
+ from .convert import convert
6
+
7
+
8
+ def get_env_var(key, as_type, env):
9
+ """
10
+ Get the environment variable option.
11
+
12
+ :param key: the config key requested
13
+ :param as_type: the type we would like to convert it to
14
+ :param env: environment variables to use
15
+ :return:
16
+ """
17
+ environ_key = f"VIRTUALENV_{key.upper()}"
18
+ if env.get(environ_key):
19
+ value = env[environ_key]
20
+
21
+ with suppress(Exception): # note the converter already logs a warning when failures happen
22
+ source = f"env var {environ_key}"
23
+ as_type = convert(value, as_type, source)
24
+ return as_type, source
25
+ return None
26
+
27
+
28
+ __all__ = [
29
+ "get_env_var",
30
+ ]
vllm/lib/python3.10/site-packages/virtualenv/config/ini.py ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ import os
5
+ from configparser import ConfigParser
6
+ from pathlib import Path
7
+ from typing import ClassVar
8
+
9
+ from platformdirs import user_config_dir
10
+
11
+ from .convert import convert
12
+
13
+ LOGGER = logging.getLogger(__name__)
14
+
15
+
16
+ class IniConfig:
17
+ VIRTUALENV_CONFIG_FILE_ENV_VAR: ClassVar[str] = "VIRTUALENV_CONFIG_FILE"
18
+ STATE: ClassVar[dict[bool | None, str]] = {None: "failed to parse", True: "active", False: "missing"}
19
+
20
+ section = "virtualenv"
21
+
22
+ def __init__(self, env=None) -> None:
23
+ env = os.environ if env is None else env
24
+ config_file = env.get(self.VIRTUALENV_CONFIG_FILE_ENV_VAR, None)
25
+ self.is_env_var = config_file is not None
26
+ if config_file is None:
27
+ config_file = Path(user_config_dir(appname="virtualenv", appauthor="pypa")) / "virtualenv.ini"
28
+ else:
29
+ config_file = Path(config_file)
30
+ self.config_file = config_file
31
+ self._cache = {}
32
+
33
+ exception = None
34
+ self.has_config_file = None
35
+ try:
36
+ self.has_config_file = self.config_file.exists()
37
+ except OSError as exc:
38
+ exception = exc
39
+ else:
40
+ if self.has_config_file:
41
+ self.config_file = self.config_file.resolve()
42
+ self.config_parser = ConfigParser()
43
+ try:
44
+ self._load()
45
+ self.has_virtualenv_section = self.config_parser.has_section(self.section)
46
+ except Exception as exc: # noqa: BLE001
47
+ exception = exc
48
+ if exception is not None:
49
+ LOGGER.error("failed to read config file %s because %r", config_file, exception)
50
+
51
+ def _load(self):
52
+ with self.config_file.open("rt", encoding="utf-8") as file_handler:
53
+ return self.config_parser.read_file(file_handler)
54
+
55
+ def get(self, key, as_type):
56
+ cache_key = key, as_type
57
+ if cache_key in self._cache:
58
+ return self._cache[cache_key]
59
+ try:
60
+ source = "file"
61
+ raw_value = self.config_parser.get(self.section, key.lower())
62
+ value = convert(raw_value, as_type, source)
63
+ result = value, source
64
+ except Exception: # noqa: BLE001
65
+ result = None
66
+ self._cache[cache_key] = result
67
+ return result
68
+
69
+ def __bool__(self) -> bool:
70
+ return bool(self.has_config_file) and bool(self.has_virtualenv_section)
71
+
72
+ @property
73
+ def epilog(self):
74
+ return (
75
+ f"\nconfig file {self.config_file} {self.STATE[self.has_config_file]} "
76
+ f"(change{'d' if self.is_env_var else ''} via env var {self.VIRTUALENV_CONFIG_FILE_ENV_VAR})"
77
+ )
vllm/lib/python3.10/site-packages/virtualenv/create/__pycache__/creator.cpython-310.pyc ADDED
Binary file (8.4 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/create/__pycache__/pyenv_cfg.cpython-310.pyc ADDED
Binary file (2.71 kB). View file
 
vllm/lib/python3.10/site-packages/virtualenv/info.py ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ import os
5
+ import platform
6
+ import sys
7
+ import tempfile
8
+
9
+ IMPLEMENTATION = platform.python_implementation()
10
+ IS_PYPY = IMPLEMENTATION == "PyPy"
11
+ IS_CPYTHON = IMPLEMENTATION == "CPython"
12
+ IS_WIN = sys.platform == "win32"
13
+ IS_MAC_ARM64 = sys.platform == "darwin" and platform.machine() == "arm64"
14
+ ROOT = os.path.realpath(os.path.join(os.path.abspath(__file__), os.path.pardir, os.path.pardir))
15
+ IS_ZIPAPP = os.path.isfile(ROOT)
16
+ _CAN_SYMLINK = _FS_CASE_SENSITIVE = _CFG_DIR = _DATA_DIR = None
17
+ LOGGER = logging.getLogger(__name__)
18
+
19
+
20
+ def fs_is_case_sensitive():
21
+ global _FS_CASE_SENSITIVE # noqa: PLW0603
22
+
23
+ if _FS_CASE_SENSITIVE is None:
24
+ with tempfile.NamedTemporaryFile(prefix="TmP") as tmp_file:
25
+ _FS_CASE_SENSITIVE = not os.path.exists(tmp_file.name.lower())
26
+ LOGGER.debug("filesystem is %scase-sensitive", "" if _FS_CASE_SENSITIVE else "not ")
27
+ return _FS_CASE_SENSITIVE
28
+
29
+
30
+ def fs_supports_symlink():
31
+ global _CAN_SYMLINK # noqa: PLW0603
32
+
33
+ if _CAN_SYMLINK is None:
34
+ can = False
35
+ if hasattr(os, "symlink"):
36
+ if IS_WIN:
37
+ with tempfile.NamedTemporaryFile(prefix="TmP") as tmp_file:
38
+ temp_dir = os.path.dirname(tmp_file.name)
39
+ dest = os.path.join(temp_dir, f"{tmp_file.name}-{'b'}")
40
+ try:
41
+ os.symlink(tmp_file.name, dest)
42
+ can = True
43
+ except (OSError, NotImplementedError):
44
+ pass
45
+ LOGGER.debug("symlink on filesystem does%s work", "" if can else " not")
46
+ else:
47
+ can = True
48
+ _CAN_SYMLINK = can
49
+ return _CAN_SYMLINK
50
+
51
+
52
+ def fs_path_id(path: str) -> str:
53
+ return path.casefold() if fs_is_case_sensitive() else path
54
+
55
+
56
+ __all__ = (
57
+ "IS_CPYTHON",
58
+ "IS_MAC_ARM64",
59
+ "IS_PYPY",
60
+ "IS_WIN",
61
+ "IS_ZIPAPP",
62
+ "ROOT",
63
+ "fs_is_case_sensitive",
64
+ "fs_path_id",
65
+ "fs_supports_symlink",
66
+ )
vllm/lib/python3.10/site-packages/virtualenv/report.py ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ import sys
5
+
6
+ LEVELS = {
7
+ 0: logging.CRITICAL,
8
+ 1: logging.ERROR,
9
+ 2: logging.WARNING,
10
+ 3: logging.INFO,
11
+ 4: logging.DEBUG,
12
+ 5: logging.NOTSET,
13
+ }
14
+
15
+ MAX_LEVEL = max(LEVELS.keys())
16
+ LOGGER = logging.getLogger()
17
+
18
+
19
+ def setup_report(verbosity, show_pid=False): # noqa: FBT002
20
+ _clean_handlers(LOGGER)
21
+ verbosity = min(verbosity, MAX_LEVEL) # pragma: no cover
22
+ level = LEVELS[verbosity]
23
+ msg_format = "%(message)s"
24
+ if level <= logging.DEBUG:
25
+ locate = "module"
26
+ msg_format = f"%(relativeCreated)d {msg_format} [%(levelname)s %({locate})s:%(lineno)d]"
27
+ if show_pid:
28
+ msg_format = f"[%(process)d] {msg_format}"
29
+ formatter = logging.Formatter(msg_format)
30
+ stream_handler = logging.StreamHandler(stream=sys.stdout)
31
+ stream_handler.setLevel(level)
32
+ LOGGER.setLevel(logging.NOTSET)
33
+ stream_handler.setFormatter(formatter)
34
+ LOGGER.addHandler(stream_handler)
35
+ level_name = logging.getLevelName(level)
36
+ LOGGER.debug("setup logging to %s", level_name)
37
+ logging.getLogger("distlib").setLevel(logging.ERROR)
38
+ return verbosity
39
+
40
+
41
+ def _clean_handlers(log):
42
+ for log_handler in list(log.handlers): # remove handlers of libraries
43
+ log.removeHandler(log_handler)
44
+
45
+
46
+ __all__ = [
47
+ "LEVELS",
48
+ "MAX_LEVEL",
49
+ "setup_report",
50
+ ]
vllm/lib/python3.10/site-packages/virtualenv/seed/__init__.py ADDED
File without changes
vllm/lib/python3.10/site-packages/virtualenv/seed/embed/__init__.py ADDED
File without changes
vllm/lib/python3.10/site-packages/virtualenv/seed/embed/base_embed.py ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from abc import ABC
4
+ from pathlib import Path
5
+
6
+ from virtualenv.seed.seeder import Seeder
7
+ from virtualenv.seed.wheels import Version
8
+
9
+ PERIODIC_UPDATE_ON_BY_DEFAULT = True
10
+
11
+
12
+ class BaseEmbed(Seeder, ABC):
13
+ def __init__(self, options) -> None:
14
+ super().__init__(options, enabled=options.no_seed is False)
15
+
16
+ self.download = options.download
17
+ self.extra_search_dir = [i.resolve() for i in options.extra_search_dir if i.exists()]
18
+
19
+ self.pip_version = options.pip
20
+ self.setuptools_version = options.setuptools
21
+ self.wheel_version = options.wheel
22
+
23
+ self.no_pip = options.no_pip
24
+ self.no_setuptools = options.no_setuptools
25
+ self.no_wheel = options.no_wheel
26
+ self.app_data = options.app_data
27
+ self.periodic_update = not options.no_periodic_update
28
+
29
+ if not self.distribution_to_versions():
30
+ self.enabled = False
31
+
32
+ @classmethod
33
+ def distributions(cls) -> dict[str, Version]:
34
+ return {
35
+ "pip": Version.bundle,
36
+ "setuptools": Version.bundle,
37
+ "wheel": Version.bundle,
38
+ }
39
+
40
+ def distribution_to_versions(self) -> dict[str, str]:
41
+ return {
42
+ distribution: getattr(self, f"{distribution}_version")
43
+ for distribution in self.distributions()
44
+ if getattr(self, f"no_{distribution}") is False and getattr(self, f"{distribution}_version") != "none"
45
+ }
46
+
47
+ @classmethod
48
+ def add_parser_arguments(cls, parser, interpreter, app_data): # noqa: ARG003
49
+ group = parser.add_mutually_exclusive_group()
50
+ group.add_argument(
51
+ "--no-download",
52
+ "--never-download",
53
+ dest="download",
54
+ action="store_false",
55
+ help=f"pass to disable download of the latest {'/'.join(cls.distributions())} from PyPI",
56
+ default=True,
57
+ )
58
+ group.add_argument(
59
+ "--download",
60
+ dest="download",
61
+ action="store_true",
62
+ help=f"pass to enable download of the latest {'/'.join(cls.distributions())} from PyPI",
63
+ default=False,
64
+ )
65
+ parser.add_argument(
66
+ "--extra-search-dir",
67
+ metavar="d",
68
+ type=Path,
69
+ nargs="+",
70
+ help="a path containing wheels to extend the internal wheel list (can be set 1+ times)",
71
+ default=[],
72
+ )
73
+ for distribution, default in cls.distributions().items():
74
+ if interpreter.version_info[:2] >= (3, 12) and distribution in {"wheel", "setuptools"}:
75
+ default = "none" # noqa: PLW2901
76
+ parser.add_argument(
77
+ f"--{distribution}",
78
+ dest=distribution,
79
+ metavar="version",
80
+ help=f"version of {distribution} to install as seed: embed, bundle, none or exact version",
81
+ default=default,
82
+ )
83
+ for distribution in cls.distributions():
84
+ parser.add_argument(
85
+ f"--no-{distribution}",
86
+ dest=f"no_{distribution}",
87
+ action="store_true",
88
+ help=f"do not install {distribution}",
89
+ default=False,
90
+ )
91
+ parser.add_argument(
92
+ "--no-periodic-update",
93
+ dest="no_periodic_update",
94
+ action="store_true",
95
+ help="disable the periodic (once every 14 days) update of the embedded wheels",
96
+ default=not PERIODIC_UPDATE_ON_BY_DEFAULT,
97
+ )
98
+
99
+ def __repr__(self) -> str:
100
+ result = self.__class__.__name__
101
+ result += "("
102
+ if self.extra_search_dir:
103
+ result += f"extra_search_dir={', '.join(str(i) for i in self.extra_search_dir)},"
104
+ result += f"download={self.download},"
105
+ for distribution in self.distributions():
106
+ if getattr(self, f"no_{distribution}"):
107
+ continue
108
+ version = getattr(self, f"{distribution}_version", None)
109
+ if version == "none":
110
+ continue
111
+ ver = f"={version or 'latest'}"
112
+ result += f" {distribution}{ver},"
113
+ return result[:-1] + ")"
114
+
115
+
116
+ __all__ = [
117
+ "BaseEmbed",
118
+ ]
vllm/lib/python3.10/site-packages/virtualenv/seed/embed/pip_invoke.py ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ from contextlib import contextmanager
5
+ from subprocess import Popen
6
+
7
+ from virtualenv.discovery.cached_py_info import LogCmd
8
+ from virtualenv.seed.embed.base_embed import BaseEmbed
9
+ from virtualenv.seed.wheels import Version, get_wheel, pip_wheel_env_run
10
+
11
+ LOGGER = logging.getLogger(__name__)
12
+
13
+
14
+ class PipInvoke(BaseEmbed):
15
+ def __init__(self, options) -> None:
16
+ super().__init__(options)
17
+
18
+ def run(self, creator):
19
+ if not self.enabled:
20
+ return
21
+ for_py_version = creator.interpreter.version_release_str
22
+ with self.get_pip_install_cmd(creator.exe, for_py_version) as cmd:
23
+ env = pip_wheel_env_run(self.extra_search_dir, self.app_data, self.env)
24
+ self._execute(cmd, env)
25
+
26
+ @staticmethod
27
+ def _execute(cmd, env):
28
+ LOGGER.debug("pip seed by running: %s", LogCmd(cmd, env))
29
+ process = Popen(cmd, env=env)
30
+ process.communicate()
31
+ if process.returncode != 0:
32
+ msg = f"failed seed with code {process.returncode}"
33
+ raise RuntimeError(msg)
34
+ return process
35
+
36
+ @contextmanager
37
+ def get_pip_install_cmd(self, exe, for_py_version):
38
+ cmd = [str(exe), "-m", "pip", "-q", "install", "--only-binary", ":all:", "--disable-pip-version-check"]
39
+ if not self.download:
40
+ cmd.append("--no-index")
41
+ folders = set()
42
+ for dist, version in self.distribution_to_versions().items():
43
+ wheel = get_wheel(
44
+ distribution=dist,
45
+ version=version,
46
+ for_py_version=for_py_version,
47
+ search_dirs=self.extra_search_dir,
48
+ download=False,
49
+ app_data=self.app_data,
50
+ do_periodic_update=self.periodic_update,
51
+ env=self.env,
52
+ )
53
+ if wheel is None:
54
+ msg = f"could not get wheel for distribution {dist}"
55
+ raise RuntimeError(msg)
56
+ folders.add(str(wheel.path.parent))
57
+ cmd.append(Version.as_pip_req(dist, wheel.version))
58
+ for folder in sorted(folders):
59
+ cmd.extend(["--find-links", str(folder)])
60
+ yield cmd
61
+
62
+
63
+ __all__ = [
64
+ "PipInvoke",
65
+ ]
vllm/lib/python3.10/site-packages/virtualenv/seed/embed/via_app_data/pip_install/__init__.py ADDED
File without changes