Skip to content

Commit

Permalink
Fixed setup.py looking for README; Bump to v0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
eschwim committed Sep 20, 2016
1 parent 0cc578d commit cb5ef8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dirpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.6"
__version__ = "0.8"

import argparse
import cgi
Expand Down
15 changes: 9 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@

here = path.abspath(path.dirname(__file__))

try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = open('README.md').read()
if path.isfile('README.md'):
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = open('README.md').read()
else:
long_description=""

setup(
name='dirpy',
version='0.6',
version='0.8',

description='A dynamic image modification proxy',
long_description=long_description,
Expand Down

0 comments on commit cb5ef8d

Please sign in to comment.