aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-11-12 21:57:30 -0500
committerTeddy Wing2015-11-12 22:38:34 -0500
commit0fcf79a66b6276002874118da6d0e5d9da01e3bc (patch)
tree16a3cd2409ee1f2afff683bfbbf8c112f50d044d
parentfcdf87b57c090a1cfe3ac04a9c654b6d64723a75 (diff)
downloadtrufont-0fcf79a66b6276002874118da6d0e5d9da01e3bc.tar.bz2
INSTALL.md: Update with instructions for requirements.txt file
With the addition of the requirements.txt file (fcdf87b57c090a1cfe3ac04a9c654b6d64723a75), the prior installation instructions for Python packages is no longer needed. Instead, show how to install these dependencies using the file and Pip. Also update the corresponding uninstallation instructions. Reword the instructions that relate to `installed-files.txt` since now it will only contain a record from the TruFont `setup.py` installation.
-rw-r--r--INSTALL.md76
1 files changed, 10 insertions, 66 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 492c4de..c35437e 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -20,52 +20,9 @@ Install with homebrew,
brew install pyqt5 ;
-### fontTools
+### Python dependencies
-Learn more: https://github.com/behdad/fonttools
-
- git clone --depth=1 https://github.com/behdad/fonttools ;
- cd fonttools/ ;
- sudo python3 setup.py install --record installed-files.txt ;
-
-### RoboFab
-
-Learn more: http://www.robofab.com
-
-In particular, https://github.com/trufont/robofab/tree/python3-ufo3
-
- cd .. ;
- git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/robofab ;
- cd robofab ;
- sudo python3 setup.py install --record installed-files.txt ;
-
-### defcon
-
-Homepage: https://readthedocs.org/projects/ts-defcon
-
-In particular, https://github.com/trufont/defcon/tree/python3-ufo3
-
- cd .. ;
- git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/defcon ;
- cd robofab ;
- sudo python3 setup.py install --record installed-files.txt ;
-
-### ufo2fdk
-
-Learn more: https://github.com/typesupply/ufo2fdk
-
-In particular, https://github.com/trufont/ufo2fdk/tree/python3-ufo3
-
- cd .. ;
- git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/ufo2fdk ;
- cd ufo2fdk ;
- sudo python3 setup.py install --record installed-files.txt ;
-
-### PyInstaller
-
-Homepage: http://www.pyinstaller.org
-
- sudo pip install PyInstaller ;
+ sudo pip install -r requirements.txt
## Trufont
@@ -97,9 +54,10 @@ To build an installation package for Mac OS X 10.9, you must build the package o
Files are installed into `/usr/local/lib/python3.5/site-packages/`
sudo easy_install pip ;
- sudo pip uninstall robofab defcon defconQt ;
+ sudo pip uninstall -r requirements.txt
-To get rid of all remaining files (be careful with rm!) for each package installed above,
+If you installed TruFont with `setup.py`, it can be uninstalled with this command
+(be careful with rm!):
cat installed-files.txt | xargs sudo rm --verbose -vr
@@ -110,22 +68,7 @@ To get rid of all remaining files (be careful with rm!) for each package install
## Dependencies
sudo apt-get install -qq -y python3-pyqt5 python3-pyqt5.qtsvg python3-flake8 ;
- git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/defcon ;
- git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/robofab ;
- git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/ufo2fdk ;
- git clone --depth=1 https://github.com/behdad/fonttools.git ;
-
- cd defcon ;
- sudo python3.4 setup.py install --record installed-files.txt ;
-
- cd ../robofab ;
- sudo python3.4 setup.py install --record installed-files.txt ;
-
- cd ../ufo2fdk ;
- sudo python3.4 setup.py install --record installed-files.txt ;
-
- cd ../fonttools ;
- sudo python3.4 setup.py install --record installed-files.txt ;
+ sudo pip3 install -r requirements.txt
## Trufont
@@ -146,11 +89,12 @@ Or to then run from source,
Files are installed into `/usr/local/lib/python3.4/dist-packages/`
-These can be partially removed with pip,
+These can be removed with pip:
sudo apt-get install python3-pip ;
- sudo pip3 uninstall robofab defcon ufo2fdk ufoLib defconQt ;
+ sudo pip3 uninstall -r requirements.txt
-To get rid of all remaining files (be careful with rm!) for each package installed above,
+If you installed TruFont with `setup.py`, it can be uninstalled with this command
+(be careful with rm!):
cat installed-files.txt | xargs sudo rm --verbose -vr