From a9899fdacf8a279e2516b216a44413305c70ee0b Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Wed, 9 Sep 2015 14:33:08 +0100 Subject: [PATCH 1/3] [setup] another patch for source dist --- setup.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 60d58ad8..bf03876e 100644 --- a/setup.py +++ b/setup.py @@ -9,6 +9,14 @@ import numpy as np def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() +def read_to_rst(fname): + try: + import pypandoc + print 'Warning in installation: For rst formatting in pypi, consider installing pypandoc for conversion' + return pypandoc.convert('README.md', 'rst') + except: + return read(fname) + version_dummy = {} exec(read('GPy/__version__.py'), version_dummy) __version__ = version_dummy['__version__'] @@ -79,7 +87,7 @@ setup(name = 'GPy', include_package_data = True, py_modules = ['GPy.__init__'], test_suite = 'GPy.testing', - long_description=read('README.md'), + long_description=read_to_rst('README.rst'), install_requires=['numpy>=1.7', 'scipy>=0.16'], extras_require = {'docs':['matplotlib >=1.3','Sphinx','IPython']}, classifiers=['License :: OSI Approved :: BSD License', From 480be7677c71a70d14687aebb01b3a07e5251626 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Wed, 9 Sep 2015 14:33:11 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Bump=20version:=200.8.1=20=E2=86=92=200.8.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GPy/__version__.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GPy/__version__.py b/GPy/__version__.py index 8088f751..deded324 100644 --- a/GPy/__version__.py +++ b/GPy/__version__.py @@ -1 +1 @@ -__version__ = "0.8.1" +__version__ = "0.8.2" diff --git a/setup.cfg b/setup.cfg index 3f97bf00..5fb9212e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.8.1 +current_version = 0.8.2 tag = True commit = True From 4907223a7fcdd2f0305cffdaf3d213dc5fe408ce Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Wed, 9 Sep 2015 18:44:37 +0100 Subject: [PATCH 3/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7cd98ba1..2b5f2e4d 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ setup(name = 'GPy', include_package_data = True, py_modules = ['GPy.__init__'], test_suite = 'GPy.testing', - long_description=read_to_rst('README.rst'), + long_description=read_to_rst('README.md'), install_requires=['numpy>=1.7', 'scipy>=0.16'], extras_require = {'docs':['matplotlib >=1.3','Sphinx','IPython']}, classifiers=['License :: OSI Approved :: BSD License',