GavinStrunk / installer

For future reference : Currently only has a script to install Visual Python with all its dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installer notes: Please read before using


Run the following as superuser.
USAGE: $su
bash VisualPythonInstaller.sh
For future reference during installations ; currently only Visual Python
Open the file in your favourite editor and check the three ways in which wxPython can be installed:
APT-GET IS ENABLED BY DEFAULT

  1. Via apt-get, this works on Xenial and Utopic, did not work for me when I was using Trusty
  2. Building from source will involve either using build_wxpython.py or setup.py like in older versions
    You may test and uncomment the version that works for you. Both work for me. Feel free to ask doubts if you wish.

Then:
Polygon, TTFQuery, fonttools are built from source.
EDIT: fonttools can be installed as a wheel file now. So I replaced it with pip.
tk, libgtk and boost-python are some other dependencies.


You can open the VPython IDE by using the following command: python2.7 /usr/local/lib/python2.7/dist-packages/VPython-6.11-py2.7-linux-x86_64.egg/vidle/idle.py.

Updates Now the script installs in the directory that you run it from. Simply create a directory, copy this file and run:

mkdir vpython6 #copy the file into this directory cd vpython6 sudo ./VisualPythonInstaller.sh

Update If you are using anaconda instead of the default ubuntu python you need to first run:

conda install wxpython

Issues using conda

  1. Doesn't install properly (installs to system python) -> fix easy_install VPython*.egg
  2. Still isn't working completely

conda install -c conda-forge fonttools conda install -c tofuproject polygon2

easy_install TTFQuery-1.0.5/dist/TTF*.egg

About

For future reference : Currently only has a script to install Visual Python with all its dependencies

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%