Edgewall Software

Changes between Version 18 and Version 19 of setuptools


Ignore:
Timestamp:
Jan 23, 2017, 5:44:23 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Link to latest documentation.

Legend:

Unmodified
Added
Removed
Modified
  • setuptools

    v18 v19  
    4141}}}
    4242
     43''You will need root permissions or equivalent (e.g. sudo) for this step.''
     44
    4345{{{#!div style="border: 1pt dotted; margin: 1em"
    4446**Note**: `pip` is a modern package installer that was developed as a replacement for `easy_install`, which you should use instead if it's available for your platform. See TracInstall for more information.
     
    4951== Install Trac from source using `easy_install`
    5052
    51 Using the python-typical setup at the top of the source directory also works. You can obtain the source for a .tar.gz or .zip file corresponding to a release (e.g. `Trac-1.0.tar.gz`) from the [trac:TracDownload] page, or you can get the source directly from the repository. See [trac:TracRepositories#OfficialSubversionrepository TracRepositories] for details.
     53You can obtain the source for a .tar.gz or .zip file corresponding to a release (e.g. `Trac-1.0.tar.gz`) from the [trac:TracDownload] page, or you can get the source directly from the repository. See [trac:TracRepositories#OfficialSubversionrepository TracRepositories] for details.
    5254
    5355{{{#!sh
    5456$ python ./setup.py install
    5557}}}
    56 
    57 ''You will need root permissions or equivalent for this step.''
    5858
    5959This will byte-compile the Python source code and install it as an .egg file or folder in the `site-packages` directory
     
    8181or, if installing Trac on a Mac OS X system:
    8282{{{#!sh
    83 $ easy_install --prefix=/usr/local --install-dir=/Library/Python/2.6/site-packages
     83$ easy_install --prefix=/usr/local --install-dir=/Library/Python/2.7/site-packages
    8484}}}
    8585
    86 On Mac OSX, running `easy_install trac` will install into `/usr/local` and `/Library/Python/2.6/site-packages` by default.
     86On Mac OSX, running `easy_install trac` will install into `/usr/local` and `/Library/Python/2.7/site-packages` by default.
    8787
    88 The `tracd` and `trac-admin` commands will be placed in `/usr/local/bin` and will install the Trac libraries and dependencies into `/Library/Python/2.6/site-packages`, which is Apple's preferred location for third-party Python application installations.
     88The `tracd` and `trac-admin` commands will be placed in `/usr/local/bin` and will install the Trac libraries and dependencies into `/Library/Python/2.7/site-packages`, which is Apple's preferred location for third-party Python application installations.
    8989
    9090== Reference Documentation
    9191
    92  - [http://peak.telecommunity.com/DevCenter/setuptools setuptools]
    93  - [http://peak.telecommunity.com/DevCenter/PkgResources pkg_resources] (setuptools)
    94  - [http://packages.python.org/distribute/pkg_resources.html pkg_resources] (Distribute)
    95  - [http://peak.telecommunity.com/DevCenter/EggFormats .egg format]
     92- [https://setuptools.readthedocs.io/en/latest/setuptools.html setuptools]
     93- [https://setuptools.readthedocs.io/en/latest/pkg_resources.html pkg_resources] (setuptools)
     94- [https://setuptools.readthedocs.io/en/latest/formats.html .egg format]
     95
    9696----
    9797See also: TracDev/Proposals/Setuptools