diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2015-07-31 16:21:25 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2015-07-31 16:21:25 +0200 |
| commit | 2971238c8957df1bce0629c12d8c209b39328590 (patch) | |
| tree | 5c84f9bede77ea23d6bc3467cbb82e619feb85ac /setup.py | |
| parent | more reliable way to import SyncRNG from R (diff) | |
| download | SyncRNG-2971238c8957df1bce0629c12d8c209b39328590.tar.gz SyncRNG-2971238c8957df1bce0629c12d8c209b39328590.zip | |
reformat to proper python and R packages
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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"] ) ], ) |
