@@ -170,18 +170,20 @@ offender.
170170How do I make an executable from a Python script?
171171-------------------------------------------------
172172
173- See http://www.py2exe.org / for a distutils extension that allows you
173+ See http://cx-freeze.sourceforge.net / for a distutils extension that allows you
174174to create console and GUI executables from Python code.
175+ `py2exe <http://www.py2exe.org/ >`_, the most popular extension for building
176+ Python 2.x-based executables, does not yet support Python 3 but a version that
177+ does is in development.
178+
175179
176180Is a ``*.pyd `` file the same as a DLL?
177181--------------------------------------
178182
179- .. XXX update for py3k (PyInit_foo)
180-
181183Yes, .pyd files are dll's, but there are a few differences. If you have a DLL
182- named ``foo.pyd ``, then it must have a function ``initfoo () ``. You can then
184+ named ``foo.pyd ``, then it must have a function ``PyInit_foo () ``. You can then
183185write Python "import foo", and Python will search for foo.pyd (as well as
184- foo.py, foo.pyc) and if it finds it, will attempt to call ``initfoo () `` to
186+ foo.py, foo.pyc) and if it finds it, will attempt to call ``PyInit_foo () `` to
185187initialize it. You do not link your .exe with foo.lib, as that would cause
186188Windows to require the DLL to be present.
187189
0 commit comments