blob: 0593ee6923ceb268b94ef665829a82f3ceb13670 [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 Jansene674ca72001-10-25 22:26:00 +00005distribution when I'm fed up with it. They were last updated for 2.2b1.
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
12- Update Relnotes, readme's, Demo:build.html
13- Make sure tkresources.rsrc is up-to-date
14- fullbuild everything with increase-buildno
Jack Jansene674ca72001-10-25 22:26:00 +000015- Test both classic and Carbon with test.regrtest
Jack Jansenc1218bc2001-04-25 22:11:24 +000016- Update Numeric and build/install it both with Classic and with Carbon python
Jack Jansenba186732001-06-26 08:06:59 +000017- Recompile OSAm and possibly other Contrib stuff
Jack Jansen2f9a9e32001-02-17 22:03:42 +000018- mkdistr binary.include
19- mkdistr dev.include
20- make distribution archive with Installer Vise
Jack Jansen2b73fe92001-03-27 21:38:55 +000021 Things to make sure of:
Jack Jansene674ca72001-10-25 22:26:00 +000022 - Version number in toplevel folder name
Jack Jansen2b73fe92001-03-27 21:38:55 +000023 - Finder icon positions
24 - Version numbers in "Packages..." window
25 - Version number in "Installer Settings" -> "Easy Install Text"
26 - Version number in "Project" -> Attributes
27 - Version number in "Project" -> PostProcess
28 - Version number in "Internet" -> "Download Sites"
29 - Version number in "Internet" -> "File Groups".
Jack Jansene674ca72001-10-25 22:26:00 +000030- Check for missing files. Do this by installing everything on your local system,
31 and comparing the file tree (CodeWarrior Compare is great for this) with
32 :Mac:Distributions:(vise):binary distribution and ....:dev distribution.
33 Only the :Lib:plat-xxxx should be missing. Otherwise go back to Installer Vise and
34 add the missing stuff. Make sure of all settings for the new files (esp. "where"
35 and "gestalt" are easy to miss).
Jack Jansen2b73fe92001-03-27 21:38:55 +000036- test on virgin systems (OSX, OS9, OS8 without Carbon). Make sure to test
37 tkinter too.
Jack Jansene674ca72001-10-25 22:26:00 +000038- Remove the local installation so you don't get confused by it.
39- checkin everything except PythonX.Y.vct.
40- mkdistr src.include
41- Rename "src distribution" and stuffit
Jack Jansen2b73fe92001-03-27 21:38:55 +000042- Upload
43- Update README file in ftp directory
44- Change version number in public_html/macpythonversion.txt .
45- Update macpython.html
46- Send an announcement to:
47 pythonmac-sig@python.org
48 python-dev@python.org
Jack Jansene674ca72001-10-25 22:26:00 +000049- Wait a day or so for catastrophic mistakes, then send an announcement to:
Jack Jansen2b73fe92001-03-27 21:38:55 +000050 python-announce@python.org
51 archivist@info-mac.org
Jack Jansenc1218bc2001-04-25 22:11:24 +000052 adcnews@apple.com
Jack Jansen94ce52e2002-05-22 14:30:37 +000053 news@macnn.com
Jack Jansenc1218bc2001-04-25 22:11:24 +000054 http://www.macupdate.com
Jack Jansend92b7a02002-04-23 19:56:20 +000055 http://guide.apple.com/usindex.lasso
Jack Jansen94ce52e2002-05-22 14:30:37 +000056 http://www.apple.com/downloads/macosx/submit
Jack Jansene674ca72001-10-25 22:26:00 +000057 http://www.versiontracker.com/ (userid Jack.Jansen@oratrix.com)
58- Open PythonX.Y.vct again, use the "remove compressed files" command to trim down
59 the size, commit.
60- Remove the subdires under (vise) so you don't get confused by them later.