From 6433703ec5e0f8bfc1b8d679aa4db117db86df22 Mon Sep 17 00:00:00 2001 From: Tim Paine Date: Tue, 18 Feb 2020 14:33:01 -0500 Subject: [PATCH] dist license --- python/perspective/MANIFEST.in | 2 +- scripts/build_python.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/python/perspective/MANIFEST.in b/python/perspective/MANIFEST.in index d1d5dca6a0..fd5a31978c 100644 --- a/python/perspective/MANIFEST.in +++ b/python/perspective/MANIFEST.in @@ -1,5 +1,5 @@ -include LICENSE include README.md +include dist/LICENSE include setup.cfg include pyproject.toml diff --git a/scripts/build_python.js b/scripts/build_python.js index 701be46f47..36df11f2b9 100644 --- a/scripts/build_python.js +++ b/scripts/build_python.js @@ -21,12 +21,15 @@ const IS_INSTALL = getarg("--install"); try { const dist = resolve`${__dirname}/../python/perspective/dist`; const cpp = resolve`${__dirname}/../cpp/perspective`; + const lic = resolve`${__dirname}/../LICENSE`; const cmake = resolve`${__dirname}/../cmake`; const dcmake = resolve`${dist}/cmake`; + const dlic = resolve`${dist}/LICENSE`; const obj = resolve`${dist}/obj`; fs.mkdirpSync(dist); fs.copySync(cpp, dist, {preserveTimestamps: true}); + fs.copySync(lic, dlic, {preserveTimestamps: true}); fs.copySync(cmake, dcmake, {preserveTimestamps: true}); clean(obj);