From b3c244ddcbba6de6bc7b72a926095aebfd528658 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 17 Apr 2013 11:45:11 -0400 Subject: [PATCH] setup.py: Oops, the module name is 'spam' not 'spammify' With the old version you get: ImportError: dynamic module does not define init function (PyInit_spammify) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ee9bfa6..fa39f2c 100644 --- 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( -- 2.26.2