0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Mac/Distributions
Guido van Rossum bea18ccde6 SF patch 568629 by Oren Tirosh: types made callable.
These built-in functions are replaced by their (now callable) type:

    slice()
    buffer()

and these types can also be called (but have no built-in named
function named after them)

    classobj (type name used to be "class")
    code
    function
    instance
    instancemethod (type name used to be "instance method")

The module "new" has been replaced with a small backward compatibility
placeholder in Python.

A large portion of the patch simply removes the new module from
various platform-specific build recipes.  The following binary Mac
project files still have references to it:

    Mac/Build/PythonCore.mcp
    Mac/Build/PythonStandSmall.mcp
    Mac/Build/PythonStandalone.mcp

[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring.  --Guido]
2002-06-14 20:41:17 +00:00
..
(vise) Backport of 1.6.4.2.2.3 from release22-maint branch. 2002-04-23 19:59:03 +00:00
binary.exclude Merging changes from release22-branch. 2001-12-27 23:01:18 +00:00
binary.include Merging changes from release22-branch. 2001-12-27 23:01:18 +00:00
dev.exclude Merging changes from release22-branch. 2001-12-27 23:01:18 +00:00
dev.include SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
readme.txt Added 2 more addresses to send release notifications to. 2002-05-22 14:30:37 +00:00
src.exclude
src.include

How to make a Python-distribution.
----------------------------------

These notes are mainly for myself, or for whoever tries to make a MacPython
distribution when I'm fed up with it. They were last updated for 2.2b1.

- Increase fragment version number in PythonCore and PythonCoreCarbon.
  the fragment number is Python's sys.hexversion, it should be set in the
  "PEF" preferences.
- 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
- Test both classic and Carbon with test.regrtest
- Update Numeric and build/install it both with Classic and with Carbon python
- Recompile OSAm and possibly other Contrib stuff
- mkdistr binary.include
- mkdistr dev.include
- make distribution archive with Installer Vise
  Things to make sure of:
  - Version number in toplevel folder name
  - 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".
- 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).
- test on virgin systems (OSX, OS9, OS8 without Carbon). Make sure to test
  tkinter too.
- 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
- 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
- Wait a day or so for catastrophic mistakes, then send an announcement to:
   python-announce@python.org
   archivist@info-mac.org
   adcnews@apple.com
   news@macnn.com
   http://www.macupdate.com
   http://guide.apple.com/usindex.lasso
   http://www.apple.com/downloads/macosx/submit
   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.