Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
7a6fa5ad
Commit
7a6fa5ad
authored
Jun 16, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #133 from sbyrnes321/master
documentation only--small fixes
parents
27d1dcf0
6988b5b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
pyximport/README
pyximport/README
+3
-9
pyximport/pyximport.py
pyximport/pyximport.py
+1
-1
No files found.
pyximport/README
View file @
7a6fa5ad
== Pyximport ==
Download: pyx-import-1.0.tar.gz
...
...
@@ -29,6 +28,9 @@ Pyrex modules like this:
python -c "import foo"
See help(pyximport.install) to learn its options for controlling the
default behavior of "import" and "reload".
== Dependency Handling ==
In Pyximport 1.1 it is possible to declare that your module depends on
...
...
@@ -59,13 +61,6 @@ supposed to.
== 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?
Modifying Python's "standard interpreter" behaviour may be more than
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
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
HELPFUL for debugging Pyrex problems.
pyximport/pyximport.py
View file @
7a6fa5ad
...
...
@@ -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
file like:
# examplemod.pyxb
dl
# examplemod.pyxb
ld
def make_ext(modname, pyxfilename):
from distutils.extension import Extension
return Extension(name = modname,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment