1998-10-05 08:53:26 -03:00
|
|
|
How to make a Python-distribution.
|
|
|
|
----------------------------------
|
|
|
|
|
2001-02-17 18:03:42 -04:00
|
|
|
These notes are mainly for myself, or for whoever tries to make a MacPython
|
2001-10-25 19:26:00 -03:00
|
|
|
distribution when I'm fed up with it. They were last updated for 2.2b1.
|
1998-10-05 08:53:26 -03:00
|
|
|
|
2001-02-17 18:03:42 -04: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 08:53:26 -03: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 19:26:00 -03:00
|
|
|
- Test both classic and Carbon with test.regrtest
|
2001-04-25 19:11:24 -03:00
|
|
|
- Update Numeric and build/install it both with Classic and with Carbon python
|
2001-06-26 05:06:59 -03:00
|
|
|
- Recompile OSAm and possibly other Contrib stuff
|
2001-02-17 18:03:42 -04:00
|
|
|
- mkdistr binary.include
|
|
|
|
- mkdistr dev.include
|
|
|
|
- make distribution archive with Installer Vise
|
2001-03-27 17:38:55 -04:00
|
|
|
Things to make sure of:
|
2001-10-25 19:26:00 -03:00
|
|
|
- Version number in toplevel folder name
|
2001-03-27 17:38:55 -04: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 19:26:00 -03: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 17:38:55 -04:00
|
|
|
- test on virgin systems (OSX, OS9, OS8 without Carbon). Make sure to test
|
|
|
|
tkinter too.
|
2001-10-25 19:26:00 -03: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 17:38:55 -04: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 19:26:00 -03:00
|
|
|
- Wait a day or so for catastrophic mistakes, then send an announcement to:
|
2001-03-27 17:38:55 -04:00
|
|
|
python-announce@python.org
|
|
|
|
archivist@info-mac.org
|
2001-04-25 19:11:24 -03:00
|
|
|
adcnews@apple.com
|
|
|
|
http://www.macupdate.com
|
2002-04-23 16:56:20 -03:00
|
|
|
http://guide.apple.com/usindex.lasso
|
2001-10-25 19:26:00 -03: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.
|