Skip to content

Commit

Permalink
Trying to convert readme to .rst format for pypi. Didn't work correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
MotaDan committed Sep 14, 2016
1 parent 9fb8e5c commit b575ba2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@
here = path.abspath(path.dirname(__file__))

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

setup(
name='steganographer',

# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.0.0',
version='1.0.1',

description='Hides a message inside an image.',
long_description=long_description,
Expand Down

0 comments on commit b575ba2

Please sign in to comment.