Skip to content

Commit

Permalink
pypi: read long_description from README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzamuto committed Dec 12, 2020
1 parent 21703b5 commit 3a02a05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dcimg.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())

__version__ = '0.6.0'
__version__ = '0.6.0.post1'


class DCIMGFile(object):
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ def get_version():
raise RuntimeError('Unable to find version string in %s.' % (VERSIONFILE,))


with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setup(
name='dcimg',
version=get_version(),
description='Python module to read Hamamatsu DCIMG files',
long_description='Python module to read Hamamatsu DCIMG files',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/lens-biophotonics/dcimg',

# Author details
Expand Down

0 comments on commit 3a02a05

Please sign in to comment.