File: install_six.sh

package info (click to toggle)
imath 3.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,468 kB
  • sloc: cpp: 44,687; ansic: 171; sh: 153; python: 60; makefile: 32
file content (22 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors to the OpenEXR Project.

set -ex

SIX_VERSION="1.12.0"

echo "Installing six-${SIX_VERSION}" 

wget -q  https://files.pythonhosted.org/packages/source/s/six/six-${SIX_VERSION}.tar.gz
tar -xvf six-${SIX_VERSION}.tar.gz

cd six-${SIX_VERSION}

# Install six
python3 setup.py build
sudo python3 setup.py install --optimize=1

cd ..