From 0e6595a90bc1a31807d155d68d6a07714c1b27e4 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Sat, 13 Apr 2019 15:40:30 -0700 Subject: [PATCH] Prepare for the 0.2 release. --- doc/source/conf.py | 2 +- doc/source/index.rst | 7 +++++++ doc/source/release/0.2-notes.rst | 6 ++++++ requirements.txt | 1 + setup.py | 14 ++++++++++++-- 5 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 doc/source/release/0.2-notes.rst diff --git a/doc/source/conf.py b/doc/source/conf.py index 8eef809..13321bd 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -22,7 +22,7 @@ # -- Project information ----------------------------------------------------- project = 'spycial' -copyright = '2018, Josh Wilson' +copyright = '2018-2019, Josh Wilson' author = 'Josh Wilson' # The short X.Y version diff --git a/doc/source/index.rst b/doc/source/index.rst index 3c6967c..9259116 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -15,3 +15,10 @@ simpler internals by avoiding the two-language problem. :maxdepth: 1 spycial + +Changelog +--------- + +.. toctree:: + + release/0.2-notes diff --git a/doc/source/release/0.2-notes.rst b/doc/source/release/0.2-notes.rst new file mode 100644 index 0000000..9d60e3d --- /dev/null +++ b/doc/source/release/0.2-notes.rst @@ -0,0 +1,6 @@ +Spycial 0.2 Release Notes +========================= + +Version 0.2 adds the exponential integrals :math:`Ei` and :math:`E_1` +as well as the inverse error function :math:`\text{erf}^{-1}` and the +inverse complementary error function :math:`\text{erfc}^{-1}`. diff --git a/requirements.txt b/requirements.txt index 7f73d8d..13f4f76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,3 +7,4 @@ asv sphinx sphinx_rtd_theme twine +setuptools diff --git a/setup.py b/setup.py index d5ad315..7654af7 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,20 @@ -from distutils.core import setup +from setuptools import setup +from os import path + + +def get_long_description(): + this_directory = path.abspath(path.dirname(__file__)) + with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + return long_description setup( name='spycial', description='Special functions written in Python and accelerated by Numba', - version='0.1.1', + long_description=get_long_description(), + long_description_content_type='text/markdown', + version='0.2', author='Josh Wilson', url='https://github.com/person142/spycial', packages=['spycial'],