From b32eb2e4417b82b5fe1728aeae547a8c3ae94f31 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Sat, 9 Feb 2019 00:51:35 -0800 Subject: [PATCH] Distribute the tests --- MANIFEST.in | 1 + setup.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index bef5282c..8905ef71 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ recursive-include ast27 *.h recursive-include ast3 *.h +recursive-include ast3/tests *.py include LICENSE diff --git a/setup.py b/setup.py index 15c4ee70..cbc74cda 100644 --- a/setup.py +++ b/setup.py @@ -116,6 +116,7 @@ 'Programming Language :: Python :: 3.7', 'Topic :: Software Development', ], - packages = ['typed_ast'], + packages = ['typed_ast', 'typed_ast.tests'], + package_dir={ 'typed_ast.tests': 'ast3/tests' }, ext_package='typed_ast', ext_modules = [_ast27, _ast3])