From f1b12365d7e0bd83d5501261e8608f866931a3bb Mon Sep 17 00:00:00 2001 From: Wolfgang Bremer Date: Thu, 28 May 2026 23:47:27 +0200 Subject: [PATCH] chore(license): declare MIT in pyproject.toml and update LICENSE --- LICENSE | 4 ++-- pyproject.toml | 18 +++++++++++++++++- setup.cfg | 17 ++++------------- 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/LICENSE b/LICENSE index b0dc8bf..d184406 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ MIT License -Copyright (c) 2020-2021 ApiGear UG (haftungsbeschränkt) -Copyright (c) 2021-2023 Epic Games Inc. All rights reserved. +Copyright (c) 2021-2022 ApiGear UG (haftungsbeschränkt) +Copyright (c) 2022-2026 Epic Games, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pyproject.toml b/pyproject.toml index 83ef0b6..d13211c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,22 @@ +[project] +name = "olink-core" +version = "0.4.0" +description = "ObjectLink core protocol for Python" +readme = "README.md" +requires-python = ">=3.9" +license = "MIT" +authors = [ + {name = "ApiGear UG"}, + {name = "Epic Games, Inc."}, +] + +[project.urls] +Homepage = "https://github.com/apigear-io/objectlink-core-python" +"Bug Tracker" = "https://github.com/apigear-io/objectlink-core-python/issues" + [build-system] requires = [ - "setuptools>=42", + "setuptools>=61.0", "wheel" ] build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg index e6639c5..fb501bd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,24 +1,15 @@ +# Project metadata (name, version, description, license, authors, URLs) is +# declared in pyproject.toml under [project]. This file keeps only the +# setuptools-specific package discovery and optional-dependency configuration. + [metadata] -name = olink-core -version = 0.4.0 author = ApiGear author_email = info@apigear.io -description = ObjectLink Core Protocol -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/apigear-io/objectlink-core-python -project_urls = - Bug Tracker = https://github.com/apigear-io/objectlink-core-python/issues -classifiers = - Programming Language :: Python :: 3 - License :: OSI Approved :: MIT License - Operating System :: OS Independent [options] package_dir = = src packages = find: -python_requires = >=3.9 [options.packages.find] where = src