aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: 900cfc9f0df934b24a4625f0c977493ddc5fbcc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
"""
    Setup file for SyncRNG

    Author: Gertjan van den Burg
    Date: Oct. 12, 2016
"""


from os import path
from setuptools import setup, find_packages
from distutils.extension import Extension

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.rst'), 'r') as f:
    long_description = f.read()

setup(
        name='SyncRNG',
        author='Gertjan van den Burg',
        author_email='gertjanvandenburg@gmail.com',
        version='1.3.0',
        description='A synchronized Tausworthe RNG for Python and R',
        long_description=long_description,
        url='https://github.com/GjjvdBurg/SyncRNG',
        license='GPL v2',
        packages=find_packages(),
        ext_modules=[
            Extension(
                "syncrng",
                define_macros=[('TARGETPYTHON', '1')],
                sources=["src/syncrng.c"]
                )
            ],
        keywords='RNG R Python',
        classifiers=[
            'Intended Audience :: Developers',
            'Intended Audience :: Science/Research',
            'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
            'Programming Language :: Python :: 2.7',
            'Programming Language :: Python :: 3',
            'Topic :: Scientific/Engineering :: Mathematics'
            ]
        )