Skip to content

Commit

Permalink
Merge tag '0.2.1'
Browse files Browse the repository at this point in the history
Update descriptionto rst
  • Loading branch information
jason-neal committed Jan 14, 2018
2 parents 883a637 + a22bbfb commit 44d5614
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@

# Get the long description from the README file
# with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
with open(os.path.join(here, 'README.md')) as f:
long_description = f.read()
try:
import pypandoc
long_description = pypandoc.convert(os.path.join(here, 'README.md'), 'rst')
except:
with open(os.path.join(here, 'README.md')) as f:
long_description = f.read()

about = {}
with open(os.path.join(here, "spectrum_overload", "__about__.py")) as f:
Expand Down
2 changes: 1 addition & 1 deletion spectrum_overload/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# MAJOR version when they make incompatible API changes,
# MINOR version when they add functionality in a backwards-compatible manner, and
# MAINTENANCE version when they make backwards-compatible bug fixes.
__version__ = "0.2.0"
__version__ = "0.2.1"

if base_dir is not None and os.path.exists(os.path.join(base_dir, ".commit")):
with open(os.path.join(base_dir, ".commit")) as fp:
Expand Down

0 comments on commit 44d5614

Please sign in to comment.