1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: Distribute the tests
--- python3-typed-ast.orig/MANIFEST.in
+++ python3-typed-ast/MANIFEST.in
@@ -1,3 +1,4 @@
recursive-include ast27 *.h
recursive-include ast3 *.h
+recursive-include ast3/tests *.py
include LICENSE
--- python3-typed-ast.orig/setup.py
+++ python3-typed-ast/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])
|