Changes between Version 1 and Version 2 of InstallingRoboFabForFontLabStudioAndLeopard

Show
Ignore:
Author:
erik (IP: 213.84.174.87)
Timestamp:
02/22/08 02:29:49 (3 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingRoboFabForFontLabStudioAndLeopard

    v1 v2  
    1616The following steps describe a way to get things working. It's not entirely elegant, but that's how things go. So, assuming you already have a local copy of the robofab svn. 
    1717 
    18 1.     Download and run the all-in-one installer from 
     181. Download and run the all-in-one installer from 
    1919        http://robofab.com/download/index.html 
    20 2.     Look into '''/Library/Python''' (so, not /Users/you/Library and also not /System/Library) 
    21 3.     You will find two folders, '''2.3''' and '''2.5'''. These folders are specially there to make it easier to install packages for Python. 
    22 4.     Open the '''2.3''' folder. It contains a folder named '''site-packages'''. 
    23 5.     Open '''site-packages'''. It will contains items such as: 
    24                * FontTools 
    25                * FontTools.pth 
    26                * Numeric 
    27                * Numeric.pth 
    28                * README 
    29                * robofab.pth 
    30                * RoboFab 
    31 6.     Delete or remove the '''RoboFab''' folder (it is not as fresh as the svn version), but leave the '''robofab.pth''' file. Do not touch the other files. 
    32 7.     Open '''robofab.pth''' in your favorite text editor. It will probably just say '''RoboFab''' 
    33 8.     Replace it with the path to where you keep the svn robofab. It will say something like this: 
    34                '''/Users/you/svn.robofab.com/trunk/robofab/Lib''' 
    35 9.     Make sure the path points all the way to the Lib. 
    36 10.    Open FontLab and test importing robofab 
    37                import robofab 
     202. Look into '''/Library/Python''' (so, not /Users/you/Library and also not /System/Library) 
     213. You will find two folders, '''2.3''' and '''2.5'''. These folders are specially there to make it easier to install packages for Python. 
     224. Open the '''2.3''' folder. It contains a folder named '''site-packages'''. 
     235. Open '''site-packages'''. It will contains items such as: 
     24  * FontTools 
     25  * FontTools.pth 
     26  * Numeric 
     27  * Numeric.pth 
     28  * README 
     29  * robofab.pth 
     30  * RoboFab 
     316. Delete or remove the '''RoboFab''' folder (it is not as fresh as the svn version), but leave the '''robofab.pth''' file. Do not touch the other files. 
     327. Open '''robofab.pth''' in your favorite text editor. It will probably just say '''RoboFab''' 
     338. Replace it with the path to where you keep the svn robofab. It will say something like this: 
     34 '''/Users/you/svn.robofab.com/trunk/robofab/Lib''' 
     359. Make sure the path points all the way to the Lib. 
     3610. Open FontLab and test importing robofab in the Macro window: 
     37  import robofab 
    383811. If no complaints show up, it works! 
     39 
    394012. If this gives you an '''ImportError''' it's most likely that the path in the robofab.pth file is somehow wrong.