Skip to content

Commit

Permalink
Merge pull request #930 from timkpaine/package_license
Browse files Browse the repository at this point in the history
Package/dist license in python package
  • Loading branch information
texodus authored Feb 21, 2020
2 parents e38530c + 6433703 commit 8d57e35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/perspective/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include LICENSE
include README.md
include dist/LICENSE

include setup.cfg
include pyproject.toml
Expand Down
3 changes: 3 additions & 0 deletions scripts/build_python.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8d57e35

Please sign in to comment.