diff --git a/setup.py b/setup.py index 1d4487e..78fc960 100644 --- a/setup.py +++ b/setup.py @@ -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: diff --git a/spectrum_overload/__about__.py b/spectrum_overload/__about__.py index 3bec195..626a1d9 100644 --- a/spectrum_overload/__about__.py +++ b/spectrum_overload/__about__.py @@ -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: