Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12233, comment 1


Ignore:
Timestamp:
May 23, 2016, 8:48:12 AM (8 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12233, comment 1

    initial v1  
    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//.