Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
rename package to shogun-ml as shogun was taken
transform the README.md to rst format
  • Loading branch information
vigsterkr committed Jul 12, 2016
1 parent 491a79a commit 945a682
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions setup.py
Expand Up @@ -56,6 +56,12 @@
with open(os.path.join(setup_py_location, 'README.md')) as f: with open(os.path.join(setup_py_location, 'README.md')) as f:
readme = f.read() readme = f.read()


try:
import pypandoc
readme = pypandoc.convert(readme, to='rst', format='md')
except:
print("Conversion of long_description from markdown to reStructuredText failed, skipping...")



def shogun_bootstrap(): def shogun_bootstrap():
global shogun_completed_cmake global shogun_completed_cmake
Expand Down Expand Up @@ -289,16 +295,16 @@ def run(self):




shogun_setup( shogun_setup(
name = "shogun", name = "shogun-ml",
version = get_shogun_version(), version = get_shogun_version(),


description = 'The Shogun Machine Learning Toolbox', description = 'The Shogun Machine Learning Toolbox',
long_description = readme, long_description=readme,
url = 'http://www.shogun-toolbox.org/', url = 'http://www.shogun-toolbox.org/',


author = 'Ariane Paola Gomes', author = 'Shogun Team',
author_email = 'arianepaola@users.noreply.github.com', author_email = 'shogun-list@shogun-toolbox.org',

license = 'The GNU General Public License v3.0', license = 'The GNU General Public License v3.0',


# https://pypi.python.org/pypi?%3Aaction=list_classifiers # https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand All @@ -314,7 +320,12 @@ def run(self):
'Programming Language :: Python :: 3' 'Programming Language :: Python :: 3'
], ],


keywords = 'Unified and efficient Machine Learning', keywords = [
'Machine Learning',
'Gaussian Processes',
'Neural Networks',
'Deep Learning'
],


zip_safe = False, zip_safe = False,


Expand Down

0 comments on commit 945a682

Please sign in to comment.