File: include_tests

package info (click to toggle)
python3-typed-ast 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,824 kB
  • sloc: ansic: 31,522; python: 4,215; sh: 65; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
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])