diff options
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",] |