Source

pyobjc / pyobjc-core / Install.txt

=========================
Installation Instructions
=========================

.. :authors: Ronald Oussoren


Installation
------------

PyObjC is installed using distutils and uses the setuptools extension to
distutils. PyObjC's ``setup.py`` script will download setuptools if it is
not yet installed.

To install PyObjC::

  $ python setup.py install

This will compile and install the ``pyobjc-core`` package in your Python's
``site-packages`` directory. When you have multiple versions of Python on 
your machine this will only install it for the version of python that's first
in your shell's search-path.


Installation using ``easy_install``
-----------------------------------

It is also possible to install PyObjC using ``easy_install``:

  $ easy_install pyobjc-core

This will install just ``pyobjc-core``. In general you want to use
the following command instead::


  $ easy_install pyobjc

This will install ``pyobjc-core`` as well as a large number of
framework wrappers.


Installation with the system version of Python
----------------------------------------------

The system version of Python (``/usr/bin/python``) includes a copy of
PyObjC starting at MacOSX 10.5 ("Leopard"). Installing other versions
of PyObjC with "/usr/bin/python" on Leopard or later is not supported
and could break your system.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.