mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Add Py36 and gstreamer 1.0 to the Ubuntu 16.04 vagrant box
This commit is contained in:
@@ -45,7 +45,7 @@ function do_build {
|
||||
rm -rf ~/wxPython_Phoenix-*
|
||||
|
||||
# setup
|
||||
echo "**** do_build $TAG $FLAG ****"
|
||||
echo "**** do_build $VENV $TAG $FLAG ****"
|
||||
echo "Using Python from VENV $VENV"
|
||||
ORIG_PATH=$PATH
|
||||
export PATH=$VENV/bin:$PATH
|
||||
|
||||
@@ -1,30 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set up and update package repos
|
||||
#add-apt-repository ppa:fkrull/deadsnakes
|
||||
add-apt-repository ppa:fkrull/deadsnakes
|
||||
apt-get update
|
||||
|
||||
# Install necessary development tools, libs, etc.
|
||||
apt-get install -y build-essential dpkg-dev
|
||||
apt-get install -y aptitude mc
|
||||
|
||||
apt-get install -y libgtk2.0-dev libgtk-3-dev
|
||||
apt-get install -y libjpeg-dev libtiff-dev \
|
||||
libsdl1.2-dev libgstreamer-plugins-base0.10-dev \
|
||||
libgstreamer-plugins-base1.0-dev \
|
||||
libnotify-dev freeglut3 freeglut3-dev libsm-dev \
|
||||
libwebkitgtk-dev libwebkitgtk-3.0-dev
|
||||
|
||||
|
||||
# Install all available Python packages and their dev packages
|
||||
apt-get install -y python2.7 python2.7-dev libpython2.7-dev python-virtualenv
|
||||
#apt-get install -y python3.4 python3.4-dev libpython3.4-dev python3.4-venv
|
||||
apt-get install -y python3.5 python3.5-dev libpython3.5-dev python3.5-venv
|
||||
apt-get install -y python3.6 python3.6-dev libpython3.6-dev python3.6-venv
|
||||
|
||||
# Set up virtual environments for each Python where the Phoenix builds will be
|
||||
# done. set them to the vagrant user so the venv's can be updated by pip later.
|
||||
mkdir venvs
|
||||
virtualenv --python=python2.7 venvs/Py27
|
||||
#pyvenv-3.4 venvs/Py34
|
||||
pyvenv-3.5 venvs/Py35
|
||||
python3.6 -m venv venvs/Py36
|
||||
|
||||
#chown -R vagrant:vagrant venvs
|
||||
# This box provides a user named "ubuntu" instead
|
||||
chown -R ubuntu:ubuntu venvs
|
||||
|
||||
Reference in New Issue
Block a user