1 | | Some `tests` directories are included in the package: |
2 | | {{{#!sh |
3 | | $ find trac -type d | grep tests |
4 | | trac/tests |
5 | | trac/tests/functional |
6 | | trac/ticket/tests |
7 | | trac/ticket/tests/functional |
8 | | }}} |
9 | | |
10 | | We could exclude those with the following change: |
11 | | |
12 | | {{{#!diff |
13 | | diff --git a/setup.py b/setup.py |
14 | | index 9bf75f8..e45bed9 100755 |
15 | | --- a/setup.py |
16 | | +++ b/setup.py |
17 | | @@ -79,7 +79,7 @@ facilities. |
18 | | 'Topic :: Software Development :: Version Control', |
19 | | ], |
20 | | |
21 | | - packages = find_packages(exclude=['*.tests']), |
22 | | + packages = find_packages(exclude=['*.tests', 'tests.*', '*.tests.*']), |
23 | | package_data = { |
24 | | '': ['templates/*'], |
25 | | 'trac': ['htdocs/*.*', 'htdocs/README', 'htdocs/js/*.*', |
26 | | }}} |
| 1 | //Edit: Created #12487 for proposed changes//. |