1998-10-05 11:53:26 +00:00
|
|
|
How to make a Python-distribution.
|
|
|
|
----------------------------------
|
|
|
|
|
2001-02-17 22:03:42 +00:00
|
|
|
These notes are mainly for myself, or for whoever tries to make a MacPython
|
2001-10-25 22:26:00 +00:00
|
|
|
distribution when I'm fed up with it. They were last updated for 2.2b1.
|
1998-10-05 11:53:26 +00:00
|
|
|
|
2001-02-17 22:03:42 +00:00
|
|
|
- Increase fragment version number in PythonCore and PythonCoreCarbon.
|
|
|
|
the fragment number is Python's sys.hexversion, it should be set in the
|
|
|
|
"PEF" preferences.
|
1998-10-05 11:53:26 +00:00
|
|
|
- Increase version number in _versioncheck.py
|
|
|
|
- Build PythonStandSmall, run once in root folder
|
|
|
|
- Update Relnotes, readme's, Demo:build.html
|
|
|
|
- Make sure tkresources.rsrc is up-to-date
|
|
|
|
- fullbuild everything with increase-buildno
|
2001-10-25 22:26:00 +00:00
|
|
|
- Test both classic and Carbon with test.regrtest
|
2001-04-25 22:11:24 +00:00
|
|
|
- Update Numeric and build/install it both with Classic and with Carbon python
|
2001-06-26 08:06:59 +00:00
|
|
|
- Recompile OSAm and possibly other Contrib stuff
|
2001-02-17 22:03:42 +00:00
|
|
|
- mkdistr binary.include
|
|
|
|
- mkdistr dev.include
|
|
|
|
- make distribution archive with Installer Vise
|
2001-03-27 21:38:55 +00:00
|
|
|
Things to make sure of:
|
2001-10-25 22:26:00 +00:00
|
|
|
- Version number in toplevel folder name
|
2001-03-27 21:38:55 +00:00
|
|
|
- Finder icon positions
|
|
|
|
- Version numbers in "Packages..." window
|
|
|
|
- Version number in "Installer Settings" -> "Easy Install Text"
|
|
|
|
- Version number in "Project" -> Attributes
|
|
|
|
- Version number in "Project" -> PostProcess
|
|
|
|
- Version number in "Internet" -> "Download Sites"
|
|
|
|
- Version number in "Internet" -> "File Groups".
|
2001-10-25 22:26:00 +00:00
|
|
|
- Check for missing files. Do this by installing everything on your local system,
|
|
|
|
and comparing the file tree (CodeWarrior Compare is great for this) with
|
|
|
|
:Mac:Distributions:(vise):binary distribution and ....:dev distribution.
|
|
|
|
Only the :Lib:plat-xxxx should be missing. Otherwise go back to Installer Vise and
|
|
|
|
add the missing stuff. Make sure of all settings for the new files (esp. "where"
|
|
|
|
and "gestalt" are easy to miss).
|
2001-03-27 21:38:55 +00:00
|
|
|
- test on virgin systems (OSX, OS9, OS8 without Carbon). Make sure to test
|
|
|
|
tkinter too.
|
2001-10-25 22:26:00 +00:00
|
|
|
- Remove the local installation so you don't get confused by it.
|
|
|
|
- checkin everything except PythonX.Y.vct.
|
|
|
|
- mkdistr src.include
|
|
|
|
- Rename "src distribution" and stuffit
|
2001-03-27 21:38:55 +00:00
|
|
|
- Upload
|
|
|
|
- Update README file in ftp directory
|
|
|
|
- Change version number in public_html/macpythonversion.txt .
|
|
|
|
- Update macpython.html
|
|
|
|
- Send an announcement to:
|
|
|
|
pythonmac-sig@python.org
|
|
|
|
python-dev@python.org
|
2001-10-25 22:26:00 +00:00
|
|
|
- Wait a day or so for catastrophic mistakes, then send an announcement to:
|
2001-03-27 21:38:55 +00:00
|
|
|
python-announce@python.org
|
|
|
|
archivist@info-mac.org
|
2001-04-25 22:11:24 +00:00
|
|
|
adcnews@apple.com
|
2002-05-22 14:30:37 +00:00
|
|
|
news@macnn.com
|
2001-04-25 22:11:24 +00:00
|
|
|
http://www.macupdate.com
|
2002-04-23 19:56:20 +00:00
|
|
|
http://guide.apple.com/usindex.lasso
|
2002-05-22 14:30:37 +00:00
|
|
|
http://www.apple.com/downloads/macosx/submit
|
2001-10-25 22:26:00 +00:00
|
|
|
http://www.versiontracker.com/ (userid Jack.Jansen@oratrix.com)
|
|
|
|
- Open PythonX.Y.vct again, use the "remove compressed files" command to trim down
|
|
|
|
the size, commit.
|
|
|
|
- Remove the subdires under (vise) so you don't get confused by them later.
|