source: trunk/packages/python-afs/README @ 2852

Last change on this file since 2852 was 2599, checked in by broder, 15 years ago

Import python-afs.

Debathena should eventually be importing PyAFS for
<http://debathena.mit.edu/trac/ticket/395>, so hopefully this is only
temporary.

File size: 1.2 KB
RevLine 
[2599]1================
2Installing PyAFS
3================
4
5To install PyAFS, you will first need to install Cython_. It's always
6a good idea to install Cython through your package manager, if
7possible. Your system's Cython package may be named ``cython`` or
8``cython-py25``. If your package manager doesn't have a package for
9Cython, or if you wish to install Cython by hand anyway, you can do so
10by running::
11
12  $ easy_install Cython
13
14Once you've done that, to install PyAFS globally, run::
15
16  $ python setup.py install
17
18If you want to build PyAFS without installing it globally, you may
19want to run::
20
21  $ python setup.py build_ext --inplace
22
23which will build the C extensions in place next to their source,
24allowing you to import the various modules, so long as your current
25working directory is the root of the PyAFS source tree.
26
27Alternatively, PyAFS has been packaged for Debian and Ubuntu. To build
28the Debian package of the latest release, run::
29
30  $ git checkout debian
31  $ git buildpackage
32  $ sudo debi
33
34You will need the devscripts and git-buildpackage packages installed,
35as well as this package's build dependencies (cdbs, debhelper,
36python-all-dev, python-support, python-pyrex, python-setuptools,
37libopenafs-dev).
38
39.. _Cython: http://cython.org/
Note: See TracBrowser for help on using the repository browser.