Skip to content

Commit

Permalink
update long description in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomitani committed Oct 12, 2022
1 parent 78d873a commit dbd4613
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
here = path.abspath(path.dirname(__file__))
version = open("simpsom/_version.py").readlines()[-1].split()[-1].strip("\"'")

with open(path.join(here, 'long_desc.md'), encoding='utf-8') as f:
long_description = f.read()
try:
import pypandoc
long_description = pypandoc.convert_file('long_desc.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()

setup(

Expand Down
4 changes: 2 additions & 2 deletions simpsom/network.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
SimpSOM (Simple Self-Organizing Maps) v2.0.0
F. Comitani @2017-2021
SimpSOM (Simple Self-Organizing Maps) v2.0.2
F. Comitani @2017-2022
A lightweight python library for Kohonen Self-Organizing Maps (SOM).
"""
Expand Down

0 comments on commit dbd4613

Please sign in to comment.