#!/bin/bash
# Copyright (c) 2012-2016 Continuum Analytics, Inc.
# All rights reserved.
#
# Name: Miniconda2
# Version: 4.2.15
# Packages: 25
# PLAT: osx-64
# DESCR: 4.2.0-729-g5c9d352
# BYTES: 22447197
# LINES: 371
# MD5: ddbcd267aacdfac6d4ad810ed41c7b97
unset DYLD_LIBRARY_PATH
echo "$0" | grep '\.sh$' >/dev/null
if (( $? )); then
echo 'Please run using "bash" or "sh", but not "." or "source"' >&2
return 1
fi
THIS_DIR=$(cd $(dirname $0); pwd)
THIS_FILE=$(basename $0)
THIS_PATH="$THIS_DIR/$THIS_FILE"
PREFIX=$HOME/miniconda2
BATCH=0
FORCE=0
while getopts "bfhp:" x; do
case "$x" in
h)
echo "usage: $0 [options]
Installs Miniconda2 4.2.15
-b run install in batch mode (without manual intervention),
it is expected the license terms are agreed upon
-f no error if install prefix already exists (force)
-h print this help message and exit
-p PREFIX install prefix, defaults to $PREFIX
"
exit 2
;;
b)
BATCH=1
;;
f)
FORCE=1
;;
p)
PREFIX="$OPTARG"
;;
?)
echo "Error: did not recognize option, please try -h"
exit 1
;;
esac
done
# verify the size of the installer
wc -c "$THIS_PATH" | grep 22447197 >/dev/null
if (( $? )); then
echo "ERROR: size of $THIS_FILE should be 22447197 bytes" >&2
exit 1
fi
if [[ $BATCH == 0 ]] # interactive mode
then
if [[ `uname -m` != 'x86_64' ]]; then
echo -n "WARNING:
Your operating system appears not to be 64-bit, but you are trying to
install a 64-bit version of Miniconda2.
Are sure you want to continue the installation? [yes|no]
[no] >>> "
read ans
if [[ ($ans != "yes") && ($ans != "Yes") && ($ans != "YES") &&
($ans != "y") && ($ans != "Y") ]]
then
echo "Aborting installation"
exit 2
fi
fi
echo -n "
Welcome to Miniconda2 4.2.15 (by Continuum Analytics, Inc.)
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> "
read dummy
more < for more information.
Continuum Analytics has self-classified this software as Export Commodity
Control Number (ECCN) 5D002.C.1, which includes information security
software using or performing cryptographic functions with asymmetric
algorithms. The form and manner of this distribution makes it eligible for
export under the License Exception ENC Technology Software Unrestricted
(TSU) exception (see the BIS Export Administration Regulations, Section
740.13) for both object code and source code.
The following packages are included in this distribution that relate to
cryptography:
openssl
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and Open Source toolkit implementing the
Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols as
well as a full-strength general purpose cryptography library.
pycrypto
A collection of both secure hash functions (such as SHA256 and RIPEMD160),
and various encryption algorithms (AES, DES, RSA, ElGamal, etc.).
EOF
echo -n "
Do you approve the license terms? [yes|no]
>>> "
read ans
while [[ ($ans != "yes") && ($ans != "Yes") && ($ans != "YES") &&
($ans != "no") && ($ans != "No") && ($ans != "NO") ]]
do
echo -n "Please answer 'yes' or 'no':
>>> "
read ans
done
if [[ ($ans != "yes") && ($ans != "Yes") && ($ans != "YES") ]]
then
echo "The license agreement wasn't approved, aborting installation."
exit 2
fi
echo -n "
Miniconda2 will now be installed into this location:
$PREFIX
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[$PREFIX] >>> "
read user_prefix
if [[ $user_prefix != "" ]]; then
case "$user_prefix" in
*\ * )
echo "ERROR: Cannot install into directories with spaces" >&2
exit 1
;;
*)
eval PREFIX="$user_prefix"
;;
esac
fi
fi # !BATCH
case "$PREFIX" in
*\ * )
echo "ERROR: Cannot install into directories with spaces" >&2
exit 1
;;
esac
if [[ ($FORCE == 0) && (-e $PREFIX) ]]; then
echo "ERROR: File or directory already exists: $PREFIX" >&2
exit 1
fi
mkdir -p $PREFIX
if (( $? )); then
echo "ERROR: Could not create directory: $PREFIX" >&2
exit 1
fi
PREFIX=$(cd $PREFIX; pwd)
export PREFIX
echo "PREFIX=$PREFIX"
# verify the MD5 sum of the tarball appended to this header
MD5=$(tail -n +371 "$THIS_PATH" | md5)
echo $MD5 | grep ddbcd267aacdfac6d4ad810ed41c7b97 >/dev/null
if (( $? )); then
echo "WARNING: md5sum mismatch of tar archive
expected: ddbcd267aacdfac6d4ad810ed41c7b97
got: $MD5" >&2
fi
# extract the tarball appended to this header, this creates the *.tar.bz2 files
# for all the packages which get installed below
# NOTE:
# When extracting as root, tar will by default restore ownership of
# extracted files, unless --no-same-owner is used, which will give
# ownership to root himself.
cd $PREFIX
tail -n +371 "$THIS_PATH" | tar xf - --no-same-owner
if (( $? )); then
echo "ERROR: could not extract tar starting at line 371" >&2
exit 1
fi
PRECONDA="$PREFIX/preconda.tar.bz2"
tar xjf $PRECONDA --no-same-owner || exit 1
rm -f $PRECONDA
extract_dist()
{
echo "installing: $1 ..."
DIST=$PREFIX/pkgs/$1
mkdir -p $DIST
tar xjf ${DIST}.tar.bz2 -C $DIST --no-same-owner || exit 1
rm -f ${DIST}.tar.bz2
}
extract_dist python-2.7.13-0
extract_dist cffi-1.9.1-py27_0
extract_dist conda-env-2.6.0-0
extract_dist cryptography-1.7.1-py27_0
extract_dist enum34-1.1.6-py27_0
extract_dist idna-2.1-py27_0
extract_dist ipaddress-1.0.17-py27_0
extract_dist openssl-1.0.2j-0
extract_dist pyasn1-0.1.9-py27_0
extract_dist pycosat-0.6.1-py27_1
extract_dist pycparser-2.17-py27_0
extract_dist pyopenssl-16.2.0-py27_0
extract_dist readline-6.2-2
extract_dist requests-2.12.4-py27_0
extract_dist ruamel_yaml-0.11.14-py27_1
extract_dist setuptools-27.2.0-py27_0
extract_dist six-1.10.0-py27_0
extract_dist sqlite-3.13.0-0
extract_dist tk-8.5.18-0
extract_dist yaml-0.1.6-0
extract_dist zlib-1.2.8-3
extract_dist conda-4.2.15-py27_0
extract_dist pycrypto-2.6.1-py27_4
extract_dist pip-9.0.1-py27_1
extract_dist wheel-0.29.0-py27_0
mkdir $PREFIX/envs
mkdir $HOME/.continuum 2>/dev/null
PYTHON="$PREFIX/pkgs/python-2.7.13-0/bin/python"
$PYTHON -E -V
if (( $? )); then
echo "ERROR:
cannot execute native osx-64 binary, output from 'uname -a' is:" >&2
uname -a
exit 1
fi
echo "creating default environment..."
export FORCE
$PYTHON -E -s "$PREFIX/pkgs/.install.py" --root-prefix=$PREFIX || exit 1
PYTHONB="$PREFIX/bin/python"
$PYTHONB -E -s "$PREFIX/pkgs/.cio-config.py" "$THIS_PATH"
echo "installation finished."
if [[ $PYTHONPATH != "" ]]; then
echo "WARNING:
You currently have a PYTHONPATH environment variable set. This may cause
unexpected behavior when running the Python interpreter in Miniconda2.
For best results, please verify that your PYTHONPATH only points to
directories of packages that are compatible with the Python interpreter
in Miniconda2: $PREFIX"
fi
if [[ $BATCH == 0 ]] # interactive mode
then
BASH_RC=$HOME/.bash_profile
DEFAULT=yes
echo -n "Do you wish the installer to prepend the Miniconda2 install location
to PATH in your $BASH_RC ? [yes|no]
[$DEFAULT] >>> "
read ans
if [[ $ans == "" ]]; then
ans=$DEFAULT
fi
if [[ ($ans != "yes") && ($ans != "Yes") && ($ans != "YES") &&
($ans != "y") && ($ans != "Y") ]]
then
echo "
You may wish to edit your .bashrc or prepend the Miniconda2 install location:
$ export PATH=$PREFIX/bin:\$PATH
"
else
if [ -f $BASH_RC ]; then
echo "
Prepending PATH=$PREFIX/bin to PATH in $BASH_RC
A backup will be made to: ${BASH_RC}-miniconda2.bak
"
cp $BASH_RC ${BASH_RC}-miniconda2.bak
else
echo "
Prepending PATH=$PREFIX/bin to PATH in
newly created $BASH_RC"
fi
echo "
For this change to become active, you have to open a new terminal.
"
echo "
# added by Miniconda2 4.2.15 installer
export PATH=\"$PREFIX/bin:\$PATH\"" >>$BASH_RC
fi
echo "Thank you for installing Miniconda2!
Share your notebooks and packages on Anaconda Cloud!
Sign up for free: https://anaconda.org
"
fi # !BATCH
exit 0
@@END_HEADER@@
LICENSE.txt 0000644 0000770 0000024 00000007163 13011132204 012735 0 ustar ilan staff 0000000 0000000 =================
Miniconda License
=================
Copyright 2016, Continuum Analytics, Inc.
All rights reserved under the 3-clause BSD License:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Continuum Analytics, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CONTINUUM ANALYTICS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Notice of Third Party Software Licenses
=======================================
Anaconda contains open source software packages from third parties. These are available on an "as is" basis and subject to their individual license agreements. These licenses are available in Anaconda or at http://docs.continuum.io/anaconda/pkg-docs . Any binary packages of these third party tools you obtain via Anaconda are subject to their individual licenses as well as the Anaconda license. Continuum reserves the right to change which third party tools are provided in Anaconda.
Cryptography Notice
===================
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See the Wassenaar Arrangement for more information.
Continuum Analytics has self-classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
The following packages are included in this distribution that relate to cryptography:
openssl
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols as well as a full-strength general purpose cryptography library.
pycrypto
A collection of both secure hash functions (such as SHA256 and RIPEMD160), and various encryption algorithms (AES, DES, RSA, ElGamal, etc.).
preconda.tar.bz2 0000644 0000770 0000024 00001422407 13035752537 014143 0 ustar ilan staff 0000000 0000000 BZh91AY&SYV#R 7ݱ@4i{@ 03n*ѡEIRm%Q.l4:@@s]b4j--QBhP K8}){
@P(_
2##ZHzԎZ6
M jaN LG | OkWv /)Wz PU4i@2Um5;kl#Ygkl T fXnU8(+}i[6@ Uyж0ǂ@@6@ OlRR3z @ am4 @ GkIk > s|% O|<