Jack Jansen | 779af3a | 1998-10-05 11:53:26 +0000 | [diff] [blame] | 1 | How to make a Python-distribution. |
| 2 | ---------------------------------- |
| 3 | |
Jack Jansen | 2f9a9e3 | 2001-02-17 22:03:42 +0000 | [diff] [blame] | 4 | These notes are mainly for myself, or for whoever tries to make a MacPython |
Jack Jansen | 3e82872 | 2003-01-08 16:27:44 +0000 | [diff] [blame] | 5 | distribution when I'm fed up with it. They were last updated for 2.3a1. |
Jack Jansen | 779af3a | 1998-10-05 11:53:26 +0000 | [diff] [blame] | 6 | |
Jack Jansen | 2f9a9e3 | 2001-02-17 22:03:42 +0000 | [diff] [blame] | 7 | - Increase fragment version number in PythonCore and PythonCoreCarbon. |
| 8 | the fragment number is Python's sys.hexversion, it should be set in the |
| 9 | "PEF" preferences. |
Jack Jansen | 779af3a | 1998-10-05 11:53:26 +0000 | [diff] [blame] | 10 | - Increase version number in _versioncheck.py |
| 11 | - Build PythonStandSmall, run once in root folder |
Jack Jansen | 3e82872 | 2003-01-08 16:27:44 +0000 | [diff] [blame] | 12 | - Update NEWS, readme's, Demo:build.html |
Jack Jansen | 779af3a | 1998-10-05 11:53:26 +0000 | [diff] [blame] | 13 | - fullbuild everything with increase-buildno |
Jack Jansen | 3e82872 | 2003-01-08 16:27:44 +0000 | [diff] [blame] | 14 | - Test with test.regrtest |
| 15 | - Update Numeric and build/install it |
Jack Jansen | ba18673 | 2001-06-26 08:06:59 +0000 | [diff] [blame] | 16 | - Recompile OSAm and possibly other Contrib stuff |
Jack Jansen | 2f9a9e3 | 2001-02-17 22:03:42 +0000 | [diff] [blame] | 17 | - mkdistr binary.include |
| 18 | - mkdistr dev.include |
| 19 | - make distribution archive with Installer Vise |
Jack Jansen | 2b73fe9 | 2001-03-27 21:38:55 +0000 | [diff] [blame] | 20 | Things to make sure of: |
Jack Jansen | e674ca7 | 2001-10-25 22:26:00 +0000 | [diff] [blame] | 21 | - Version number in toplevel folder name |
Jack Jansen | 2b73fe9 | 2001-03-27 21:38:55 +0000 | [diff] [blame] | 22 | - Finder icon positions |
| 23 | - Version numbers in "Packages..." window |
| 24 | - Version number in "Installer Settings" -> "Easy Install Text" |
| 25 | - Version number in "Project" -> Attributes |
| 26 | - Version number in "Project" -> PostProcess |
| 27 | - Version number in "Internet" -> "Download Sites" |
| 28 | - Version number in "Internet" -> "File Groups". |
Jack Jansen | e674ca7 | 2001-10-25 22:26:00 +0000 | [diff] [blame] | 29 | - Check for missing files. Do this by installing everything on your local system, |
| 30 | and comparing the file tree (CodeWarrior Compare is great for this) with |
| 31 | :Mac:Distributions:(vise):binary distribution and ....:dev distribution. |
| 32 | Only the :Lib:plat-xxxx should be missing. Otherwise go back to Installer Vise and |
| 33 | add the missing stuff. Make sure of all settings for the new files (esp. "where" |
| 34 | and "gestalt" are easy to miss). |
Jack Jansen | 3e82872 | 2003-01-08 16:27:44 +0000 | [diff] [blame] | 35 | - test on virgin systems (both OS9 and OSX). |
Jack Jansen | e674ca7 | 2001-10-25 22:26:00 +0000 | [diff] [blame] | 36 | - Remove the local installation so you don't get confused by it. |
| 37 | - checkin everything except PythonX.Y.vct. |
| 38 | - mkdistr src.include |
| 39 | - Rename "src distribution" and stuffit |
Jack Jansen | 2b73fe9 | 2001-03-27 21:38:55 +0000 | [diff] [blame] | 40 | - Upload |
| 41 | - Update README file in ftp directory |
| 42 | - Change version number in public_html/macpythonversion.txt . |
| 43 | - Update macpython.html |
| 44 | - Send an announcement to: |
| 45 | pythonmac-sig@python.org |
| 46 | python-dev@python.org |
Jack Jansen | e674ca7 | 2001-10-25 22:26:00 +0000 | [diff] [blame] | 47 | - Wait a day or so for catastrophic mistakes, then send an announcement to: |
Jack Jansen | 2b73fe9 | 2001-03-27 21:38:55 +0000 | [diff] [blame] | 48 | python-announce@python.org |
| 49 | archivist@info-mac.org |
Jack Jansen | c1218bc | 2001-04-25 22:11:24 +0000 | [diff] [blame] | 50 | adcnews@apple.com |
Jack Jansen | 94ce52e | 2002-05-22 14:30:37 +0000 | [diff] [blame] | 51 | news@macnn.com |
Jack Jansen | c1218bc | 2001-04-25 22:11:24 +0000 | [diff] [blame] | 52 | http://www.macupdate.com |
Jack Jansen | d92b7a0 | 2002-04-23 19:56:20 +0000 | [diff] [blame] | 53 | http://guide.apple.com/usindex.lasso |
Jack Jansen | 94ce52e | 2002-05-22 14:30:37 +0000 | [diff] [blame] | 54 | http://www.apple.com/downloads/macosx/submit |
Jack Jansen | e674ca7 | 2001-10-25 22:26:00 +0000 | [diff] [blame] | 55 | http://www.versiontracker.com/ (userid Jack.Jansen@oratrix.com) |
| 56 | - Open PythonX.Y.vct again, use the "remove compressed files" command to trim down |
| 57 | the size, commit. |
| 58 | - Remove the subdires under (vise) so you don't get confused by them later. |