install-p4python.sh #4

  • //
  • guest/
  • robert_cowham/
  • perforce/
  • sdp/
  • test/
  • docker/
  • install-p4python.sh
  • View
  • Commits
  • Open Download .zip Download (405 B)
#!/usr/bin/env bash
# This installs P4Python on CentOS assuming SCL installed.
# RUN yum install -y centos-release-scl; \
#     yum install -y rh-python36

echo "#!/bin/bash" >> /etc/profile.d/enablepython36.sh
echo "source scl_source enable rh-python36" >> /etc/profile.d/enablepython36.sh

/opt/rh/rh-python36/root/usr/bin/pip install --upgrade pip
/opt/rh/rh-python36/root/usr/bin/pip install p4python
# Change User Description Committed
#4 25113 Robert Cowham Merge latest changes from dev
#3 22511 Robert Cowham Remove temp dir to save space
#2 22485 Robert Cowham Update python to 3.5
Refactor tests to simplify workspace (no mapping into root), and to allow easy setup
#1 22477 Robert Cowham Bring latest dev changes into test
//guest/perforce_software/sdp/dev/test/docker/install-p4python.sh
#1 22385 Robert Cowham Fix install of p4python