From 14743e6efa88175584d13cd667f55739af70f3e8 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Mon, 7 Nov 2022 19:33:13 -0800 Subject: [PATCH] Keep license metadata & add license file in setup --- python/pyproject.toml | 2 +- python/setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index a1d2fcc3d..d5b95c0b1 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -33,7 +33,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { file = "LICENSE" } +license = { text = "Apache 2.0" } requires-python = ">=3.8" dependencies = [ "cuda-python>=11.7.1,<12.0", diff --git a/python/setup.py b/python/setup.py index e7c4087ac..c579c3c23 100644 --- a/python/setup.py +++ b/python/setup.py @@ -4,6 +4,7 @@ from skbuild import setup setup( + license_files=["LICENSE"], packages=find_packages(include=["rmm", "rmm.*"]), zip_safe=False, )