setup.py: Oops, the module name is 'spam' not 'spammify'
authorW. Trevor King <wking@tremily.us>
Wed, 17 Apr 2013 15:45:11 +0000 (11:45 -0400)
committerW. 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

index ee9bfa6302435ff770da0e49abb9ea2f5f599b6d..fa39f2c0ef4cf6352a59457ee0c1f3b6d44e7dad 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
 from distutils.core import setup, Extension
 
 spammify_module = Extension(
-    'spammify',
+    'spam',
     sources=['spammify.c'])
 
 setup(