Skip to content

Commit

Permalink
Include README.md in package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Hogan committed Jul 14, 2018
1 parent af57696 commit 1594644
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
from setuptools import setup, find_packages
from pkg_resources import resource_filename

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

# depending on your execution context the version file
# may be located in a different place!
vsn_path = resource_filename(__name__, 'hvac/version')
Expand All @@ -17,6 +20,8 @@
name='hvac',
version=open(vsn_path, 'r').read(),
description='HashiCorp Vault API client',
long_description=long_description,
long_description_content_type="text/markdown",
author='Ian Unruh',
author_email='ianunruh@gmail.com',
url='https://github.com/ianunruh/hvac',
Expand Down

0 comments on commit 1594644

Please sign in to comment.