aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2015-07-31 16:21:25 +0200
committerGertjan van den Burg <burg@ese.eur.nl>2015-07-31 16:21:25 +0200
commit2971238c8957df1bce0629c12d8c209b39328590 (patch)
tree5c84f9bede77ea23d6bc3467cbb82e619feb85ac /setup.py
parentmore reliable way to import SyncRNG from R (diff)
downloadSyncRNG-2971238c8957df1bce0629c12d8c209b39328590.tar.gz
SyncRNG-2971238c8957df1bce0629c12d8c209b39328590.zip
reformat to proper python and R packages
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
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"]
)
],
)