diff options
author | ptmcg <ptmcg@austin.rr.com> | 2019-11-03 20:46:37 -0600 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2019-11-03 20:46:37 -0600 |
commit | 021888d2686a498e3208543ab9eeca3c146848d3 (patch) | |
tree | 43497c5765d7f07e8fc1ccf0d1c9794688355d8c /setup.py | |
parent | e40c1df06372654cf80c24d1a6e957d26603e53c (diff) | |
download | pyparsing-git-021888d2686a498e3208543ab9eeca3c146848d3.tar.gz |
Updates for 2.4.3 release - use README.rst body instead of pyparsing docstring for PyPI compatibility
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -3,7 +3,15 @@ """Setup script for the pyparsing module distribution.""" from setuptools import setup -from pyparsing import __version__ as pyparsing_version, __doc__ as pyparsing_main_doc +from pyparsing import __version__ as pyparsing_version + +# The directory containing this file +import pathlib +HERE = pathlib.Path(__file__).parent + +# The text of the README file +with (HERE / "README.rst").open() as README: + pyparsing_main_doc = README.read() modules = ["pyparsing",] |