From 9f2b7c0a8d49073b3ce9fd5fd14fd6de4fba0d3f Mon Sep 17 00:00:00 2001 From: Fabio Date: Sat, 10 Oct 2026 15:18:43 -0300 Subject: [PATCH] Add the MIT license LICENSE at the root, declared in pyproject.toml (license = "MIT", license-files; setuptools >= 77 for PEP 639) and copied as LICENSE.txt next to AceList.exe in the Windows zip. Co-Authored-By: Claude --- CHANGELOG.md | 3 +++ LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++++ pyproject.toml | 4 +++- windows/build.py | 4 +++- 5 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md index d018ca7..a25c511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Todos los cambios relevantes del proyecto se registran aquí. Formato basado en ## [Sin publicar] +### Agregado +- MIT license (`LICENSE`), declared in `pyproject.toml` and shipped as `LICENSE.txt` next to `AceList.exe` in the Windows zip. + ## [1.5.0] - 2026-10-11 Fuentes desde un archivo local, selección múltiple en el listado, más herramientas en Explorar (páginas, quitar, reproducir y verificar sin importar), enlaces con infohash y los arreglos de la revisión de #88. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5ca62df --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Fabio + +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. diff --git a/README.md b/README.md index 87f7e3d..85e1bb4 100644 --- a/README.md +++ b/README.md @@ -187,3 +187,7 @@ El seguimiento se hace con [issues de GitHub](https://github.com/fabiomb/AceList - [docs/engine-api.md](docs/engine-api.md): API del engine de Acestream observada en la práctica. - [docs/packaging.md](docs/packaging.md): cómo se empaqueta el ejecutable para Windows. - [CHANGELOG.md](CHANGELOG.md): registro de cambios. + +## Licencia + +[MIT](LICENSE). diff --git a/pyproject.toml b/pyproject.toml index c0aed30..4dd6947 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=68"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -7,6 +7,8 @@ name = "acelist" dynamic = ["version"] description = "Local catalog of Acestream links with availability checks" readme = "README.md" +license = "MIT" +license-files = ["LICENSE"] requires-python = ">=3.11" dependencies = [ "fastapi>=0.115", diff --git a/windows/build.py b/windows/build.py index 95d00dc..598e763 100644 --- a/windows/build.py +++ b/windows/build.py @@ -1,7 +1,7 @@ """Builds AceList.exe and its zip: `python windows/build.py`. Needs the `build` extra (`pip install -e ".[build]"`). Leaves in `dist/`: -- `AceList/` with `AceList.exe` and `_internal/`; +- `AceList/` with `AceList.exe`, `_internal/` and `LICENSE.txt`; - `AceList--win64.zip` and `AceList--win64.zip.sha256`. """ @@ -48,6 +48,8 @@ def main() -> Path: check=True, cwd=ROOT, ) + # The license travels with the program; .txt so Windows opens it with a double click. + shutil.copyfile(ROOT / "LICENSE", DIST / "AceList" / "LICENSE.txt") name = f"AceList-{version()}-win64" archive = Path(shutil.make_archive(str(DIST / name), "zip", root_dir=DIST, base_dir="AceList")) checksum = archive.with_name(archive.name + ".sha256")