diff --git a/setup.py b/setup.py index 2fd3860..0c2cba7 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,10 @@ from distutils.version import LooseVersion from setuptools import find_packages, find_namespace_packages -__version__ = '0.2.3b2' +__version__ = '0.2.3b3' + +from pathlib import Path + class CMakeExtension(Extension): @@ -108,6 +111,9 @@ def build_extension(self, ext): subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp) +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + setup( name='dnp3-python', version=__version__, @@ -115,7 +121,8 @@ def build_extension(self, ext): author_email='volttron@pnnl.gov', url='https://github.com/VOLTTRON/dnp3-python', description='pydnp3 -- python binding for opendnp3', - # long_description='long description', + long_description=long_description, + long_description_content_type='text/markdown', install_requires=[ # 'pybind11>=2.2', 'argcomplete'],