hicmd — 鸿蒙 PC 系统包管理器（基于 Conan 投影层）
Copyright 2024 OpenHarmony PC Developer

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

================================================================================

Third-Party Software Licenses

hicmd incorporates or depends on the following third-party software packages.

--------------------------------------------------------------------------------

1. Conan 2.29.1 — VENDORED (源码内嵌于 src/hicmd/vendor/conan/)

   License: MIT License
   Copyright (c) 2019 JFrog LTD
   Homepage: https://conan.io
   Source: https://github.com/conan-io/conan
   Local license file: src/hicmd/vendor/conan/LICENSE.md

   Conan 源码已直接内嵌到 hicmd 项目中（vendor），非 pip 依赖。
   原始 MIT 协议文件保留在 src/hicmd/vendor/conan/LICENSE.md。

   The MIT License (MIT)

   Copyright (c) 2019 JFrog LTD

   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:

   The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software.

   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.

--------------------------------------------------------------------------------

2. pip 依赖（通过 PyPI 安装，非 vendor）

  以下包通过 pyproject.toml dependencies 声明，pip 从 PyPI 安装。
  各包的 LICENSE 文件随 pip 安装分发给最终用户。

  | 包名             | 协议              | 版权方                          | 来源                                          |
  |------------------|-------------------|---------------------------------|-----------------------------------------------|
  | click            | BSD-3-Clause      | Pallets                         | https://github.com/pallets/click              |
  | rich             | MIT               | Textualize                      | https://github.com/Textualize/rich            |
  | pyyaml           | MIT               | Kirill Simonov                  | https://github.com/yaml/pyyaml                |
  | portalocker      | BSD-3-Clause      | Rick van Hattem                 | https://github.com/wolph/portalocker          |
  | requests         | Apache-2.0        | Kenneth Reitz / Python Software Foundation | https://github.com/psf/requests     |
  | urllib3          | MIT               | Python Software Foundation      | https://github.com/urllib3/urllib3            |
  | colorama         | BSD-3-Clause      | Jonathan Hartley                | https://github.com/tartley/colorama           |
  | patch-ng         | MIT               | Conan.io                        | https://github.com/conan-io/python-patch      |
  | fasteners        | Apache-2.0        | OpenStack Foundation            | https://github.com/harlowja/fasteners         |
  | distro           | Apache-2.0        | Python Software Foundation      | https://github.com/python-distro/distro       |
  | Jinja2           | BSD-3-Clause      | Pallets                         | https://github.com/pallets/jinja              |
  | python-dateutil  | Apache-2.0 / BSD  | Paul Ganssle                    | https://github.com/dateutil/dateutil          |

  以上包为 Conan 的运行时依赖，由 hicmd 的 pyproject.toml 间接声明。

--------------------------------------------------------------------------------

3. Python 标准库（PSF License）

  hicmd 使用以下 Python 标准库模块：

    sqlite3, json, urllib.request, pathlib, hashlib, os, sys, shutil,
    subprocess, tomllib, time, io, tarfile, ssl

  Python is Copyright (c) Python Software Foundation.
  See: https://docs.python.org/3/license.html
