You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ariatosca.apache.org by ra...@apache.org on 2017/06/25 13:50:48 UTC

incubator-ariatosca git commit: ARIA-290 Update Makefile for binary dist creation

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-290-update-makefile [created] 6cb0f7204


ARIA-290 Update Makefile for binary dist creation

Updated the Makefile to push required files for release
(LICENSE, NOTICE, DISCLAIMER) into the binary distribution
archive (wheel) automatically.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/6cb0f720
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/6cb0f720
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/6cb0f720

Branch: refs/heads/ARIA-290-update-makefile
Commit: 6cb0f72046733a56f872cc00f3a2759b72b6e32c
Parents: 75112ab
Author: Ran Ziv <ra...@gigaspaces.com>
Authored: Sun Jun 25 16:49:42 2017 +0300
Committer: Ran Ziv <ra...@gigaspaces.com>
Committed: Sun Jun 25 16:49:42 2017 +0300

----------------------------------------------------------------------
 Makefile | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/6cb0f720/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index f5f2e66..4884a65 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,8 @@ test:
 
 dist: docs
 	python ./setup.py sdist bdist_wheel
+	# pushing LICENSE and additional files into the binary distribution archive
+	-find "$(DIST)" -type f -name '*.whl' -exec zip -u {} LICENSE NOTICE DISCLAIMER \;
 
 deploy:
 	pip install --upgrade "twine>=1.9.1"