summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py13
1 files changed, 6 insertions, 7 deletions
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'])