aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..f3c23b0
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,19 @@
+
+from distutils.core import setup, Extension
+
+"""
+module1 = Extension('taus',
+ define_macros = [('TARGETPYTHON', '1')],
+ sources=['taus.c'])
+
+setup (name = 'Tausworthe RNG',
+ version = '0.1',
+ description='The Tausworthe RNG for Python and R',
+ ext_modules = [module1])
+"""
+
+setup(
+ ext_modules=[Extension("taus",
+ define_macros=[('TARGETPYTHON', '1')],
+ sources=["taus.c"])],
+ )