Edgewall Software

Changes between Version 7 and Version 8 of setuptools


Ignore:
Timestamp:
Aug 22, 2014, 5:13:35 AM (10 years ago)
Author:
Ryan J Ollos
Comment:

More code highlighting.

Legend:

Unmodified
Added
Removed
Modified
  • setuptools

    v7 v8  
    1 = setuptools =
     1= setuptools
    22
    33[http://peak.telecommunity.com/DevCenter/setuptools setuptools] is a Python module that helps to compile, distribute and install Python packages by wrapping them into "egg"s. Eggs contain additional information to process dependencies, etc. Trac [TracPlugins plugins] can be packaged as eggs since [milestone:0.9]. Starting with [milestone:0.11] Trac itself can also be packaged using setuptools.
    44
    55Installed setuptools version can be checked with the following commands (should work for other Python packages too):
    6 {{{
    7 #!sh
     6{{{#!sh
    87$ python
    98Python 2.3.5
     
    1413
    1514Setuptools can be installed using bootstrap script from PEAK:
    16 {{{
    17 #!sh
    18 wget http://peak.telecommunity.com/dist/ez_setup.py
    19 python ez_setup.py
    20 rm ez_setup.py
     15{{{#!sh
     16$ wget http://peak.telecommunity.com/dist/ez_setup.py
     17$ python ez_setup.py
     18$ rm ez_setup.py
    2119}}}
    2220
    2321Aternatively, it can be obtained from the Python repository:
    24 {{{
     22{{{#!sh
    2523$ svn co http://svn.python.org/projects/sandbox/trunk/setuptools
    2624$ cd setuptools
     
    2927Notes:
    3028 - if you're using svn 1.6.x and setuptools prior to **0.6c10**, be sure to apply the latest patch in setuptools-issue:64.
    31  - if you're using Python 2.6 and setuptools prior to **0.6c10**, be sure to also apply the Python26.warnings.diff patch from setuptools-issue:56
    32  - For setuptools versions **5.4** through **5.6**, the environment variable `PKG_RESOURCES_CACHE_ZIP_MANIFESTS` should be set, otherwise the performance of Trac will be significantly degraded.
     29 - if you're using Python 2.6 and setuptools prior to **0.6c10**, be sure to also apply the `Python26.warnings.diff` patch from setuptools-issue:56.
     30 - if you're using setuptools versions **5.4** through **5.6**, the environment variable `PKG_RESOURCES_CACHE_ZIP_MANIFESTS` should be set, otherwise the performance of Trac will be significantly degraded.
    3331  - Linux: `$export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1`
    3432  - Windows: `>set PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1`
     
    3735setuptools include "easy_install" script for convenient installation of packages found on [http://pypi.python.org/pypi/setuptools/ Python Package Index] including Trac with all necessary dependencies.
    3836
    39 {{{
    40 #!sh
     37{{{#!sh
    4138$ python -m easy_install Trac
    4239}}}
    4340
    44 == Reference Documentation ==
     41== Reference Documentation
    4542 - [http://peak.telecommunity.com/DevCenter/setuptools setuptools]
    4643 - [http://peak.telecommunity.com/DevCenter/PkgResources pkg_resources] (setuptools)