Edgewall Software

Opened 8 years ago

Last modified 8 years ago

#12487 closed defect

Package includes subdirectories of tests — at Initial Version

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.12
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Some tests directories are included in the package:

$ find trac -type d | grep tests
trac/tests
trac/tests/functional
trac/ticket/tests
trac/ticket/tests/functional

We could exclude those with the following change:

  • setup.py

    diff --git a/setup.py b/setup.py
    index 9bf75f8..e45bed9 100755
    a b facilities.  
    7979        'Topic :: Software Development :: Version Control',
    8080    ],
    8181
    82     packages = find_packages(exclude=['*.tests']),
     82    packages = find_packages(exclude=['*.tests', 'tests.*', '*.tests.*']),
    8383    package_data = {
    8484        '': ['templates/*'],
    8585        'trac': ['htdocs/*.*', 'htdocs/README', 'htdocs/js/*.*',

Change History (0)

Note: See TracTickets for help on using tickets.