From 2971238c8957df1bce0629c12d8c209b39328590 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 31 Jul 2015 16:21:25 +0200 Subject: reformat to proper python and R packages --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 80ac5bd..b94684e 100644 --- a/setup.py +++ b/setup.py @@ -7,12 +7,13 @@ setup( version='0.1', description='A synchronized Tausworthe RNG for Python and R', license='GPL v2', - py_modules=['SyncRNG'], + package_dir={'': 'Python'}, + packages=[''], ext_modules=[ Extension( "syncrng", define_macros=[('TARGETPYTHON', '1')], - sources=["syncrng.c"] + sources=["src/syncrng.c"] ) ], ) -- cgit v1.2.3