From 5cb209184d1332f7829bbe2e320aed3a663fe664 Mon Sep 17 00:00:00 2001 From: Erez Shinan Date: Wed, 5 Apr 2017 17:58:28 +0300 Subject: [PATCH] Include LICENSE, docs, examples, tests, in tar.gz. --- MANIFEST.in | 1 + lark/__init__.py | 2 +- setup.cfg | 5 +++++ setup.py | 5 +---- 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..8bdeaba --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include README.md LICENSE docs/* examples/*.py tests/*.py diff --git a/lark/__init__.py b/lark/__init__.py index 1f60bc2..a37cdb7 100644 --- a/lark/__init__.py +++ b/lark/__init__.py @@ -3,4 +3,4 @@ from .common import ParseError, GrammarError from .lark import Lark from .utils import inline_args -__version__ = "0.2.3" +__version__ = "0.2.6" diff --git a/setup.cfg b/setup.cfg index af39c08..6ddead9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,10 @@ [global] zip_safe= +[bdist_wheel] +universal = 1 + [metadata] description-file = README.md +license_file = LICENSE + diff --git a/setup.py b/setup.py index b2db86d..caadd03 100644 --- a/setup.py +++ b/setup.py @@ -11,10 +11,7 @@ setup( requires = [], install_requires = [], - package_data = { - '': ['*.md', '*.g'], - 'docs': ['*.png'], - }, + package_data = { '': ['*.md', '*.g'] }, # metadata for upload to PyPI author = "Erez Shinan",