Davide
I have created two pairs of README and LICENSE files: README, README-SPINE, LICENSE, and LICENSE-SPINE.
The files with the "-SPINE" suffix (i.e., README-SPINE and LICENSE-SPINE) are copied from the Spine C++ runtimes.
I would appreciate it if you could check these files to see if they comply with your rules.
The contents of my README and LICENSE files are as follows:
- README:
# Spine Runtimes C++ Bindings for Python(Alpha)
## Important License Notice
1. This project consists of two parts of code:
- **Original Code**: The pybind11 binding logic and Python-layer rendering implementation developed by [Your Name], which is licensed under the MIT License (see the LICENSE file for details).
- **Third-Party Code**: The C++ code based on spine-runtimes, whose copyright and license belong to the original author (Esoteric Software). Users must strictly comply with the [official spine-runtimes license](https://github.com/EsotericSoftware/spine-runtimes/blob/4.2/LICENSE or see the LICENSE-SPINE file for details).
2. When using this project, users must comply with both of the above licenses. Any consequences arising from non-compliance with any license shall be borne by the user.
3. It is emphasized again that the right to use code related to spine-runtimes is governed by its original license. The MIT License of this project applies solely to the original code written by the developer and does not alter the copyright or licensing terms of third-party code.
## Project Description
- **Version**: Alpha v0.01
- **Scope**: This version is functionally aligned with the `spine-glfw` example in spine-runtimes. It only guarantees the stability of core features covered by this example, and does not ensure compatibility with other modules (untested issues may exist).
- **Core Feature**: OpenGL rendering logic is fully implemented in the Python layer. Developers do not need to worry about graphics library selection, rendering process adaptation, or version dependencies. Rendering logic can be flexibly modified directly in Python.
## Contribution
Issues and Stars are welcome!
- LICENSE:
# LICENSE-MIT:仅适用于本项目的“原创代码”
# 注意:本协议不覆盖 spine-runtimes 核心代码,其协议需参考项目根目录的 LICENSE-SPINE 文件
#
# LICENSE-MIT: Applies only to "Original Code" of this project
# Note: This license does not cover spine-runtimes core code. Refer to LICENSE-SPINE in the project root for its license.
MIT License
Copyright (c) [GuYeying] [2025]
# 协议适用范围说明:
# 本 MIT 协议仅适用于以下代码:
# 1. pybind11 绑定逻辑(bindings目录下的所有文件以及bind_spinepy.cpp文件)
# 2. Python 层渲染实现(如 spine_opengl 目录下的代码)
# 本协议不覆盖、不修改第三方代码的协议:
# - spine-runtimes 核心 C++ 代码(来自 https://github.com/EsotericSoftware/spine-runtimes)
# - spine-runtimes 协议详见项目根目录的 LICENSE-SPINE 文件,使用前必须遵守
#
# License Scope:
# This MIT License applies only to the following code:
# 1. pybind11 binding logic (all files in the bindings directory and bind_spinepy.cpp)
# 2. Python-layer rendering implementation (e.g., code in the spine_opengl directory)
# This license does not cover or modify licenses of third-party code:
# - spine-runtimes core C++ code (from https://github.com/EsotericSoftware/spine-runtimes)
# - Refer to LICENSE-SPINE in the project root for the spine-runtimes license; compliance is required before use.
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, 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.
