Commit 7a6fa5ad authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #133 from sbyrnes321/master

documentation only--small fixes
parents 27d1dcf0 6988b5b5
== Pyximport == == Pyximport ==
Download: pyx-import-1.0.tar.gz Download: pyx-import-1.0.tar.gz
...@@ -29,6 +28,9 @@ Pyrex modules like this: ...@@ -29,6 +28,9 @@ Pyrex modules like this:
python -c "import foo" python -c "import foo"
See help(pyximport.install) to learn its options for controlling the
default behavior of "import" and "reload".
== Dependency Handling == == Dependency Handling ==
In Pyximport 1.1 it is possible to declare that your module depends on In Pyximport 1.1 it is possible to declare that your module depends on
...@@ -59,13 +61,6 @@ supposed to. ...@@ -59,13 +61,6 @@ supposed to.
== For further thought and discussion == == For further thought and discussion ==
I don't think that Python's "reload" will do anything for changed .SOs
on some (all?) platforms. It would require some (easy) experimentation
that I haven't gotten around to. But reload is rarely used in
applications outside of the Python interactive interpreter and certainly
not used much for C extension modules. Info about Windows
<http://mail.python.org/pipermail/python-list/2001-July/053798.html>
"setup.py install" does not modify sitecustomize.py for you. Should it? "setup.py install" does not modify sitecustomize.py for you. Should it?
Modifying Python's "standard interpreter" behaviour may be more than Modifying Python's "standard interpreter" behaviour may be more than
most people expect of a package they install.. most people expect of a package they install..
...@@ -76,4 +71,3 @@ build directory as per normal for Distutils. If I could wave a magic ...@@ -76,4 +71,3 @@ build directory as per normal for Distutils. If I could wave a magic
wand and get Pyrex or distutils or whoever to put the build directory I wand and get Pyrex or distutils or whoever to put the build directory I
might do it but not necessarily: having it at the top level is VERY might do it but not necessarily: having it at the top level is VERY
HELPFUL for debugging Pyrex problems. HELPFUL for debugging Pyrex problems.
...@@ -18,7 +18,7 @@ A custom distutils.core.Extension instance and setup() args ...@@ -18,7 +18,7 @@ A custom distutils.core.Extension instance and setup() args
(Distribution) for for the build can be defined by a <modulename>.pyxbld (Distribution) for for the build can be defined by a <modulename>.pyxbld
file like: file like:
# examplemod.pyxbdl # examplemod.pyxbld
def make_ext(modname, pyxfilename): def make_ext(modname, pyxfilename):
from distutils.extension import Extension from distutils.extension import Extension
return Extension(name = modname, return Extension(name = modname,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment