-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
39 lines (28 loc) · 1.29 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
==================
Installing PyMoira
==================
To install PyMoira, you will first need to install Pyrex_. It's always
a good idea to install Pyrex through your package manager, if
possible. Your system's Pyrex package may be named ``python-pyrex`` or
``pyrex-py25``. If your package manager doesn't have a package for
Pyrex, or if you wish to install Pyrex by hand anyway, you can do so
by running::
$ easy_install Pyrex
Once you've done that, to install PyMoira globally, run::
$ python setup.py install
If you want to build PyMoira without installing it globally, you may
want to run::
$ python setup.py build_ext --inplace
which will build the C extensions in place next to their source,
allowing you to import the various modules, so long as your current
working directory is the root of the PyMoira source tree.
Alternatively, PyMoira has been packaged for Debian and Ubuntu. To
build the Debian package of the latest release, run::
$ git checkout debian
$ git buildpackage
$ sudo debi
You will need the devscripts and git-buildpackage packages installed,
as well as this package's build dependencies (debhelper, cdbs,
python-all-dev, python-support, python-pyrex, python-setuptools,
debathena-libmoira-dev).
.. _Pyrex: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/