Edgewall Software

Changes between Version 443 and Version 444 of TracInstall


Ignore:
Timestamp:
May 31, 2020, 11:20:07 PM (4 years ago)
Author:
Ryan J Ollos
Comment:

How to specify setuptools extras to pip.

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v443 v444  
    9595 * [http://babel.pocoo.org Babel], version 0.9.6 or >= 1.3,
    9696   needed for localization support
     97 * [http://pytz.sourceforge.net pytz] to get a complete list of time zones,
     98   otherwise Trac will fall back on a shorter list from
     99   an internal time zone implementation. Installing Babel
     100   will install pytz.
    97101 * [http://docutils.sourceforge.net docutils], version >= 0.3.9
    98102   for WikiRestructuredText.
     
    100104   [TracSyntaxColoring syntax highlighting].
    101105 * [https://pypi.org/project/textile Textile] for rendering the [https://github.com/textile/python-textile Textile markup language].
    102  * [http://pytz.sourceforge.net pytz] to get a complete list of time zones,
    103    otherwise Trac will fall back on a shorter list from
    104    an internal time zone implementation.
    105106 * [https://pypi.org/project/passlib passlib] on Windows to decode [TracStandalone#BasicAuthorization:Usingahtpasswdpasswordfile htpasswd formats] other than `SHA-1`.
    106107 * [https://pypi.org/project/pyreadline pyreadline] on Windows for trac-admin [TracAdmin#InteractiveMode command completion].
     
    154155The optional dependencies can be installed from PyPI using `pip`:
    155156{{{#!sh
    156 $ pip install babel docutils pygments pytz textile
    157 }}}
     157$ pip install babel docutils pygments textile
     158}}}
     159
     160The optional dependencies can alternatively be
     161specified using the `extras` keys in the setup file:
     162{{{#!sh
     163$ pip install Trac[babel,rest,pygments,textile]
     164}}}
     165
     166`rest` is the extra that installs the `docutils`
     167dependency.
     168
     169Include `mysql` or `psycopg2-binary` in the
     170list if using the MySQL or PostgreSQL database.
    158171
    159172Additionally, you can install several Trac plugins from PyPI (listed [https://pypi.org/search/?c=Framework+%3A%3A+Trac here]) using pip. See TracPlugins for more information.