#!/bin/bash
# Copyright (c) 2012-2016 Continuum Analytics, Inc.
# All rights reserved.
#
# Name: Miniconda3
# Version: 4.2.12
# Packages: 17
# PLAT: linux-32
# DESCR: 4.2.0-179-g79a4a88
# BYTES: 29051880
# LINES: 366
# MD5: 9a6fda2aa46bcb7caba434eb76c1bba1
unset LD_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/miniconda3
BATCH=0
FORCE=0
while getopts "bfhp:" x; do
case "$x" in
h)
echo "usage: $0 [options]
Installs Miniconda3 4.2.12
-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 29051880 >/dev/null
if (( $? )); then
echo "ERROR: size of $THIS_FILE should be 29051880 bytes" >&2
exit 1
fi
if [[ $BATCH == 0 ]] # interactive mode
then
if [[ `uname -m` == 'x86_64' ]]; then
echo -n "WARNING:
Your system is x86_64, but you are trying to install an x86 (32-bit)
version of Miniconda3. Unless you have the necessary 32-bit libraries
installed, Miniconda3 will not work.
We STRONGLY recommend installing the x86_64 version of Miniconda3 on
an x86_64 system.
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 Miniconda3 4.2.12 (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 "
Miniconda3 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 +366 "$THIS_PATH" | md5sum -)
echo $MD5 | grep 9a6fda2aa46bcb7caba434eb76c1bba1 >/dev/null
if (( $? )); then
echo "WARNING: md5sum mismatch of tar archive
expected: 9a6fda2aa46bcb7caba434eb76c1bba1
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 +366 "$THIS_PATH" | tar xf - --no-same-owner
if (( $? )); then
echo "ERROR: could not extract tar starting at line 366" >&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-3.5.2-0
extract_dist conda-env-2.6.0-0
extract_dist openssl-1.0.2j-0
extract_dist pycosat-0.6.1-py35_1
extract_dist readline-6.2-2
extract_dist requests-2.11.1-py35_0
extract_dist ruamel_yaml-0.11.14-py35_0
extract_dist sqlite-3.13.0-0
extract_dist tk-8.5.18-0
extract_dist xz-5.2.2-0
extract_dist yaml-0.1.6-0
extract_dist zlib-1.2.8-3
extract_dist conda-4.2.12-py35_0
extract_dist pycrypto-2.6.1-py35_4
extract_dist pip-8.1.2-py35_0
extract_dist wheel-0.29.0-py35_0
extract_dist setuptools-27.2.0-py35_0
mkdir $PREFIX/envs
mkdir $HOME/.continuum 2>/dev/null
PYTHON="$PREFIX/pkgs/python-3.5.2-0/bin/python"
$PYTHON -E -V
if (( $? )); then
echo "ERROR:
cannot execute native linux-32 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 Miniconda3.
For best results, please verify that your PYTHONPATH only points to
directories of packages that are compatible with the Python interpreter
in Miniconda3: $PREFIX"
fi
if [[ $BATCH == 0 ]] # interactive mode
then
BASH_RC=$HOME/.bashrc
DEFAULT=no
echo -n "Do you wish the installer to prepend the Miniconda3 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 Miniconda3 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}-miniconda3.bak
"
cp $BASH_RC ${BASH_RC}-miniconda3.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 Miniconda3 4.2.12 installer
export PATH=\"$PREFIX/bin:\$PATH\"" >>$BASH_RC
fi
echo "Thank you for installing Miniconda3!
Share your notebooks and packages on Anaconda Cloud!
Sign up for free: https://anaconda.org
"
fi # !BATCH
exit 0
@@END_HEADER@@
LICENSE.txt 0000664 0000765 0000765 00000007163 12721420312 012606 0 ustar ilan ilan 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 0000664 0000765 0000765 00001327074 13006705130 013772 0 ustar ilan ilan 0000000 0000000 BZh91AY&SYs`v >tO4
E@ a{t*ցlb$mTlT|RO q@lV@AB)HAܠ
/ >CJTM6
jZB k@
Yf3| ϭe@ p^ k := }NwLj
ˀ /` VJ&HB[:JhISkekbe w=Om