From 7e4a1997c98720b07779ef1fe267acc1839b9152 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 17 Apr 2013 11:41:05 -0400 Subject: [PATCH] setup.py: Add basic setup.py for a C extension Tweaked from http://docs.python.org/3/extending/building.html#building --- setup.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ee9bfa6 --- /dev/null +++ b/setup.py @@ -0,0 +1,12 @@ +from distutils.core import setup, Extension + +spammify_module = Extension( + 'spammify', + sources=['spammify.c']) + +setup( + name='Spammify', + version='1.0', + description='This is a spammify package', + ext_modules=[spammify_module], + ) -- 2.26.2