31 | | }}} |
32 | | |
33 | | === Configure for python version === |
34 | | '''This step is only needed in Bcfg2 1.0.0rc1 and earlier.''' |
35 | | |
36 | | Once you have a copy of the source code, there are a couple of final steps. |
37 | | |
38 | | First, Bcfg2 as packaged for Debian supports several different versions of Python. To select the appropriate version you will need |
39 | | to run the `buildsys-select.sh` script from within the `debian` subdirectory. You must pass it an argument ''<PYTHON_VERSION>'' that is one of the following values: |
40 | | |
41 | | `2.3`:: for Debian sarge. |
42 | | `2.4`:: for Ubuntu breezy, dapper, and Nexenta <= Alpha 6. |
43 | | `pycentral`:: |
44 | | for Debian etch or newer; Ubuntu edgy, feisty, gutsy, and hardy or |
45 | | newer. |
46 | | |
47 | | As Debian and other related distributions have matured, many of these are fading from use and the correct choice for ''<PYTHON_VERSION>'' is almost always `pycentral`. |
48 | | |
49 | | Once you have figured out the correct value for ''<PYTHON_VERSION>'', run the following command: |
50 | | |
51 | | {{{ |
52 | | cd bcfg2/debian |
53 | | ./buildsys-select.sh <PYTHON_VERSION> |