32 | | - '''python setup.py egg_info''', otherwise data files will be missing; |
33 | | whether this is really needed or not seems to be highly depending on the version of Python. |
34 | | With 2.4.4 it's not needed, with 2.5.4 `sdist` won't work even with this step (!), |
35 | | with 2.6.1 it is needed. |
36 | | - ''python setup.py sdist'', in order to get the files in the `.zip` with the proper CRLF line endings; [[br]] |
37 | | verify with zipinfo that the content is OK (once the templates were missing!) |
38 | | * Build windows installer |
39 | | * ''python setup.py bdist_wininst'' -- .exe win32 installer |
40 | | * '''use Python 2.3 to build the installer''', in order to avoid dependency on MSVCR71.dll, not always available. |
41 | | * Test installation on '''all''' target platforms |
42 | | * Install on a clean system. ''Remove any old Trac installation before testing'' |
43 | | * Test `easy_install Trac` |
44 | | |
| 39 | {{{ |
| 40 | python setup.py egg_info sdist |
| 41 | }}} |
| 42 | in order to get the files in a `.zip`, with the proper CRLF line endings. |
| 43 | Verify with zipinfo that the content is OK as once the templates were |
| 44 | missing... |
| 45 | \\//Note: |
| 46 | '''egg_info''' before ''sdist'', as otherwise data files will be missing; |
| 47 | whether this is needed or not depends on the version of Python. |
| 48 | With 2.4.4 it's not needed, |
| 49 | with 2.5.4 `sdist` won't work even with this step (!), |
| 50 | with 2.6.1 it is needed. |
| 51 | // |
| 52 | * Build Windows installer |
| 53 | * .exe win32 installer |
| 54 | {{{ |
| 55 | python23.exe setup.py bdist_wininst |
| 56 | }}} |
| 57 | // Note: |
| 58 | It is important to use **Python 2.3** to build the installer, |
| 59 | in order to avoid dependency on MSVCR71.dll, not always available. |
| 60 | // |
| 61 | * Test installation on all target platforms. \\ |
| 62 | Install on a clean system. ''Remove any old Trac installation before testing.'' |
| 63 | * Smoke test: |
| 64 | - create an environment with `trac-admin`, test it with `tracd` |
| 65 | - upgrade an environment created with the previous release' `trac-admin`, |
| 66 | test it with `tracd` |
| 67 | |
| 68 | == Finalize the release |