blob: 5ae41ce65faaf4d164261f0b5c33ebf09b4fcdbf [file] [log] [blame]
Jack Jansen779af3a1998-10-05 11:53:26 +00001How to make a Python-distribution.
2----------------------------------
3
Jack Jansen2f9a9e32001-02-17 22:03:42 +00004These notes are mainly for myself, or for whoever tries to make a MacPython
Jack Jansen3e828722003-01-08 16:27:44 +00005distribution when I'm fed up with it. They were last updated for 2.3a1.
Jack Jansen779af3a1998-10-05 11:53:26 +00006
Jack Jansen2f9a9e32001-02-17 22:03:42 +00007- 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 Jansen779af3a1998-10-05 11:53:26 +000010- Increase version number in _versioncheck.py
11- Build PythonStandSmall, run once in root folder
Jack Jansen3e828722003-01-08 16:27:44 +000012- Update NEWS, readme's, Demo:build.html
Jack Jansen779af3a1998-10-05 11:53:26 +000013- fullbuild everything with increase-buildno
Jack Jansen3e828722003-01-08 16:27:44 +000014- Test with test.regrtest
15- Update Numeric and build/install it
Jack Jansenba186732001-06-26 08:06:59 +000016- Recompile OSAm and possibly other Contrib stuff
Jack Jansen2f9a9e32001-02-17 22:03:42 +000017- mkdistr binary.include
18- mkdistr dev.include
19- make distribution archive with Installer Vise
Jack Jansen2b73fe92001-03-27 21:38:55 +000020 Things to make sure of:
Jack Jansene674ca72001-10-25 22:26:00 +000021 - Version number in toplevel folder name
Jack Jansen2b73fe92001-03-27 21:38:55 +000022 - 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 Jansene674ca72001-10-25 22:26:00 +000029- 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 Jansen3e828722003-01-08 16:27:44 +000035- test on virgin systems (both OS9 and OSX).
Jack Jansene674ca72001-10-25 22:26:00 +000036- 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 Jansen2b73fe92001-03-27 21:38:55 +000040- 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 Jansene674ca72001-10-25 22:26:00 +000047- Wait a day or so for catastrophic mistakes, then send an announcement to:
Jack Jansen2b73fe92001-03-27 21:38:55 +000048 python-announce@python.org
49 archivist@info-mac.org
Jack Jansenc1218bc2001-04-25 22:11:24 +000050 adcnews@apple.com
Jack Jansen94ce52e2002-05-22 14:30:37 +000051 news@macnn.com
Jack Jansenc1218bc2001-04-25 22:11:24 +000052 http://www.macupdate.com
Jack Jansend92b7a02002-04-23 19:56:20 +000053 http://guide.apple.com/usindex.lasso
Jack Jansen94ce52e2002-05-22 14:30:37 +000054 http://www.apple.com/downloads/macosx/submit
Jack Jansene674ca72001-10-25 22:26:00 +000055 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.