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