What's new? | Help | Directory | Sign in
Google
svgfig
Quantitative drawing in Python and SVG
  
  
  
  
    
Search
for
Updated Jun 17, 2008 by jpivarski
Labels: Featured, Tutorial, Version1
HowToInstall  
How to install

(This page applies only to the 1.x branch of SVGFig.)

How to install

  1. Download the latest version of SVGFig from the Downloads tab.
  2. Unpack the archive (your browser might do this automatically). In Unix/Linux, the command is
  3. tar -xzvf svgfig-x.y.z.tgz
  4. Run the installer script, =setup.py=, with Python.
  5. cd svgfig/
    python setup.py install
  6. To install in your home directory (e.g. if you don't have superuser privileges)
  7. python setup.py install --home=~
  8. Now you should be able to load the svgfig library in Python:
  9. Python 2.4.3 (#2, Oct  6 2006, 07:52:30) 
    [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import svgfig

Known problems (and solutions)

None yet.


Sign in to add a comment