Changes between Version 46 and Version 47 of TracWikiPrintPlugin


Ignore:
Timestamp:
Apr 1, 2017, 9:25:09 PM (7 years ago)
Author:
Ryan J Ollos
Comment:

Revise installation instructions.

Legend:

Unmodified
Added
Removed
Modified
  • TracWikiPrintPlugin

    v46 v47  
    3636== Installation
    3737
    38 There are several '''dependencies''':
    39 
    40  * [http://www.xhtml2pdf.com/ xhtml2pdf] and [pypi:pisa PISA]: The Python library used to convert HTML to PDF. You can install it with ''easy_install pisa''. The version supported by this plugin is 3.0.32. Others might work (3.0.29 is known to have a bug in TOC creation).
    41  * [http://www.reportlab.org/ ReportLab version 2.2]: This is a dependency of xhtml2pdf. If using easy_install, it should be automatically installed.
    42  * [http://code.google.com/p/html5lib/ HTML5lib]: Same as previous.
    43  * [http://pybrary.net/pyPdf/ pyPDF]: Same as previous.
    44  * [http://www.pythonware.com/products/pil/ PIL] (Python Imaging Library): I'm not sure if this is a dependency of xhtml2pdf, but anyways, ''easy_install PIL'' should do the work.
    45  * [http://pygments.org/ Pygments]: Python syntax highlighter. You need this for syntax highlighting in Trac too.
    46 
    47 To install dependencies (PIL/!ReportLab/HTML5Lib/Pygments/pyPDF):
    48 
    49  * On Debian/Ubuntu:
    50    * `aptitude install python-imaging python-reportlab python-html5lib python-pygments python-pypdf`
    51  * On Fedora/Redhat:
    52    * `yum install python-imaging python-reportlab python-html5lib python-pygments pyPdf`
     38There are some '''dependencies''':
     39
     40* The beta version of [http://www.xhtml2pdf.com/ xhtml2pdf] seems to be required:
     41{{{#!sh
     42$ pip install -U xhtml2pdf==0.2b1
     43}}}
     44* [http://www.pythonware.com/products/pil/ PIL] (Python Imaging Library): I'm not sure if this is a dependency of xhtml2pdf, but anyways, ''easy_install PIL'' should do the work.
     45* [http://pygments.org/ Pygments]: Python syntax highlighter. You need this for syntax highlighting in Trac too.
    5346
    5447To install the plugin:
    5548
    56  * `easy_install https://trac-hacks.org/svn/tracwikiprintplugin/1.0`
     49{{{#!sh
     50$ pip install https://trac-hacks.org/svn/tracwikiprintplugin/1.0
     51}}}
    5752
    5853Enable the plugin by adding '''wikiprint.* = enabled''' in the ''components'' section of your `trac.ini` file: