Skip to content

Commit

Permalink
Add long description hook to readme (#17)
Browse files Browse the repository at this point in the history
* add long-scription using readme hook
  • Loading branch information
kefeimo authored Mar 2, 2023
1 parent 7faf5b8 commit d065f74
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -108,14 +111,18 @@ 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__,
author='Volttron Team',
author_email='[email protected]',
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'],
Expand Down

0 comments on commit d065f74

Please sign in to comment.