diff options
author | Michael Milton <ttmigueltt@gmail.com> | 2020-06-23 03:31:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 12:31:59 -0500 |
commit | 2d1163471e0bef2c527e5f959d78dd1605a51183 (patch) | |
tree | b6a0a6cd1bb8b4371c964a192211435770aafa38 /setup.py | |
parent | 6fc0f329eec924c760877eaddb0abb164a861267 (diff) | |
download | pyparsing-git-2d1163471e0bef2c527e5f959d78dd1605a51183.tar.gz |
Diagram Improvements Episode III: Revenge of the Setuptools (#224)
* Add diagram documentation, add more diagram tests, allow more
customization of diagrams
* Remove accidental edit of unrelated documentation
* Add diagram package
* Add jinja file to manifest
* Add to bdist also
* package_data
* Railroad improvements
* Partial rewrite
* Update
* Use partials everywhere so we can edit the tree before it's constructed
* Rewrite the diagram generator to not duplicate any content; use
monospaced font for titles
* Small documentation change
* Revert back to Python 3.5 type hints, fix a small bug
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -21,9 +21,7 @@ README_name = __file__.replace("setup.py", "README.rst") with io.open(README_name, encoding="utf8") as README: pyparsing_main_doc = README.read() -packages = [ - "pyparsing", -] +packages = ["pyparsing", "pyparsing.diagram"] setup( # Distribution meta-data name="pyparsing", @@ -39,6 +37,7 @@ setup( # Distribution meta-data packages=packages, python_requires=">=3.5", extras_require={"diagrams": ["railroad-diagrams", "jinja2"],}, + package_data={"pyparsing.diagram": ["*.jinja2"]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", |