From 641688b252da468eb374674a0dbaae1bbac70b2b Mon Sep 17 00:00:00 2001 From: John Glover Date: Sat, 25 Jun 2011 14:48:26 +0100 Subject: Bug fix: both sms and sndobj build with setup.py --- setup.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 669c145..79b52f1 100644 --- a/setup.py +++ b/setup.py @@ -105,12 +105,11 @@ sms_sources.append("simpl/sms.i") sms_include_dirs = ['src/sms'] sms_include_dirs.extend(include_dirs) -sndobj = Extension("simpl/_simplsms", - sources=sms_sources, - include_dirs=sms_include_dirs, - libraries=['m', 'fftw3', 'gsl', 'gslcblas'], - extra_compile_args=['-DMERSENNE_TWISTER']) - +sms = Extension("simpl/_simplsms", + sources=sms_sources, + include_dirs=sms_include_dirs, + libraries=['m', 'fftw3', 'gsl', 'gslcblas'], + extra_compile_args=['-DMERSENNE_TWISTER']) # ------------------------------------------------------------------------------ # Package @@ -128,5 +127,5 @@ setup(name='simpl', author_email='j@johnglover.net', platforms=["Linux", "Mac OS-X", "Unix", "Windows"], version='0.3', - ext_modules=[sndobj], + ext_modules=[sndobj, sms], packages=['simpl', 'simpl.plot']) -- cgit v1.2.3