From 63eaaf7dc94ed441dc3f4e13c0c03e84953b7b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 20 Jul 2016 10:59:17 +0200 Subject: [PATCH] Added addon-bundle dir --- .gitignore | 1 + addon-bundle/README.txt | 52 +++++++++++++++++++++++++++++++++++++++++ addon-bundle/bundle.sh | 16 +++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 addon-bundle/README.txt create mode 100755 addon-bundle/bundle.sh diff --git a/.gitignore b/.gitignore index 7eab516..cc6103a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ blender_cloud/wheels/*.whl /test_*.py /dist/ /build/ +/addon-bundle/*.zip diff --git a/addon-bundle/README.txt b/addon-bundle/README.txt new file mode 100644 index 0000000..60c24bf --- /dev/null +++ b/addon-bundle/README.txt @@ -0,0 +1,52 @@ +Blender Cloud Addon +=================== + +Congratulations on downloading the Blender Cloud addon. For your +convenience, we have bundled it with the Blender ID addon. + +To use the Blender Cloud addon, perform the following steps: + +- Use Blender (File, User Preferences, Addons, Install from file) + to install blender_id-x.x.x.addon.zip + +- If you had a previous version of the Blender Cloud addon installed, + restart Blender now. + +- Log in with your Blender ID. + +- Use Blender to install blender_cloud-x.x.x.addon.zip + + If you don't see the addon in the list, enable the Testing + category. + +- Press Ctrl+Alt+Shift+A to start the texture browser. + +- Visit the User Preferences, Addons panel, to use the Blender Sync + feature. + + +Support for Blenders not from blender.org +----------------------------------------- + +Maybe you use Blender from another source than blender.org, such as an +Ubuntu package. If that is the case, you have to make sure that the +Python package "requests" is installed. On Ubuntu Linux this can be +done with the command + + sudo apt-get install python3-requests + +On other platforms & distributions this might be different. + +Blender uses Python 3.5, so make sure you install the package for the +correct version of Python. + + +Subscribing to the Blender Cloud +-------------------------------- + +The Blender Sync feature is free to use for everybody with a Blender +ID account. In order to use the Texture Browser you need to have a +Blender Cloud subscription. If you didn't subscribe yet, go to: + + https://cloud.blender.org/join + diff --git a/addon-bundle/bundle.sh b/addon-bundle/bundle.sh new file mode 100755 index 0000000..9f43b02 --- /dev/null +++ b/addon-bundle/bundle.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +cd $(dirname $(readlink -f $0)) + +BCLOUD=$(ls ../dist/blender_cloud-*.addon.zip | tail -n 1) +BID=$(ls ../../../blender-id-addon/dist/blender_id-*.addon.zip | tail -n 1) + +cp -va $BCLOUD $BID . + +BUNDLE=$(basename $BCLOUD) +BUNDLE=${BUNDLE/.addon.zip/-bundle-UNZIP_ME_FIRST.zip} + +zip -9 $BUNDLE $(basename $BCLOUD) $(basename $BID) README.txt + +dolphin --select $BUNDLE 2>/dev/null >/dev/null & disown +echo "CREATED: $BUNDLE"