projects
/
cpython-extension.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f0301
)
setup.py: Oops, the module name is 'spam' not 'spammify'
author
W. Trevor King
<wking@tremily.us>
Wed, 17 Apr 2013 15:45:11 +0000
(11:45 -0400)
committer
W. Trevor King
<wking@tremily.us>
Wed, 17 Apr 2013 15:45:11 +0000
(11:45 -0400)
With the old version you get:
ImportError: dynamic module does not define init function (PyInit_spammify)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index ee9bfa6302435ff770da0e49abb9ea2f5f599b6d..fa39f2c0ef4cf6352a59457ee0c1f3b6d44e7dad 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-1,7
+1,7
@@
from distutils.core import setup, Extension
spammify_module = Extension(
- 'spam
mify
',
+ 'spam',
sources=['spammify.c'])
setup(