aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py27
1 files changed, 13 insertions, 14 deletions
diff --git a/setup.py b/setup.py
index 3c6bf16..80ac5bd 100644
--- a/setup.py
+++ b/setup.py
@@ -1,19 +1,18 @@
from distutils.core import setup, Extension
-"""
-module1 = Extension('syncrng',
- define_macros = [('TARGETPYTHON', '1')],
- sources=['syncrng.c'])
-
-setup (name = 'SyncRNG',
- version = '0.1',
- description='A synchronized Tausworthe RNG for Python and R',
- ext_modules = [module1])
-"""
-
setup(
- ext_modules=[Extension("syncrng",
- define_macros=[('TARGETPYTHON', '1')],
- sources=["syncrng.c"])],
+ name='SyncRNG',
+ author='Gertjan van den Burg',
+ version='0.1',
+ description='A synchronized Tausworthe RNG for Python and R',
+ license='GPL v2',
+ py_modules=['SyncRNG'],
+ ext_modules=[
+ Extension(
+ "syncrng",
+ define_macros=[('TARGETPYTHON', '1')],
+ sources=["syncrng.c"]
+ )
+ ],
)