Edgewall Software

Changes between Version 21 and Version 22 of TracPlugins


Ignore:
Timestamp:
Mar 17, 2006, 8:32:55 PM (18 years ago)
Author:
Matthew Good
Comment:

clarify global installation with egg vs. setup.py

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v21 v22  
    3434
    3535=== For All Projects ===
     36==== With a .egg file ====
     37Some plugins (such as [http://projects.edgewall.com/trac/wiki/WebAdmin WebAdmin]) are downloadable as a `.egg` file which can be installed with the `easy_install` program:
     38{{{
     39easy_install TracWebAdmin-0.1.1dev_r2765-py2.3.egg
     40}}}
    3641
    37 Plugins that you want to use in all your projects (such as [http://projects.edgewall.com/trac/wiki/WebAdmin WebAdmin]) can be installed globally by running:
     42If `easy_install` is not on your system see the Requirements section above to install it.  Windows users will need to add "C:\Python23\Scripts" to their `PATH` environment variable (see [http://peak.telecommunity.com/DevCenter/EasyInstall#windows-notes easy_install Windows notes] for more information.
     43
     44==== From source ====
     45If you downloaded the plugin's source from Subversion, or a source zip file you can install it using the included `setup.py`:
    3846{{{
    3947$ python setup.py install
    4048}}}
    4149
    42 Alternatively, you can just drop the `.egg` file in the Python `site-packages` directory (/usr/lib/python2.x/site-packages).  You ''may'' have to add the path of this `.egg` file into the `easy-install.pth` file located in `site-packages` (This was necessary on a Windows-Apache-mod_python machine, but the file does not exist for a Linux cgi installation and is not necessary as long as the .egg file is dropped in the correct site-packages directory).
    43 
     50==== Enabling the plugin ====
    4451Unlike plugins installed per-environment, you'll have to explicitly enable globally installed plugins via [wiki:TracIni trac.ini]. This is done in the `[components]` section of the configuration file, for example:
    4552{{{