aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2016-10-12 21:26:25 +0200
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2016-10-16 12:52:28 +0200
commit5227fd5ca21a08a9450b17aa834b365653012ab2 (patch)
tree417432bdaba33ccd900b708d4812f12cf4a3ecf5
parentadd makefile (diff)
downloadSyncRNG-5227fd5ca21a08a9450b17aa834b365653012ab2.tar.gz
SyncRNG-5227fd5ca21a08a9450b17aa834b365653012ab2.zip
expand setup.py
-rw-r--r--Makefile1
-rw-r--r--setup.py19
2 files changed, 19 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b3e724d..25f3536 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,7 @@ clean: ## Clean build dist and egg directories left after install
rm -rf *.so
rm -f MANIFEST
rm -f .coverage
+ rm -f README.txt
develop: ## Install a development version of the package needed for testing
python setup.py develop --user
diff --git a/setup.py b/setup.py
index 3639006..169d5c4 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,29 @@
+"""
+ 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.md'), 'r') as f:
+ long_description = f.read()
+ with open(path.join(here, 'README.txt'), 'w') as o:
+ o.write(long_description)
+
setup(
name='SyncRNG',
author='Gertjan van den Burg',
+ author_email='gertjanvandenburg@gmail.com',
version='1.1.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(),
@@ -20,7 +37,7 @@ setup(
keywords='RNG R Python',
classifiers=[
'Intended Audience :: Developers',
- 'Indended Audience :: Science/Research',
+ 'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',