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. 79 79 'Topic :: Software Development :: Version Control', 80 80 ], 81 81 82 packages = find_packages(exclude=['*.tests' ]),82 packages = find_packages(exclude=['*.tests', 'tests.*', '*.tests.*']), 83 83 package_data = { 84 84 '': ['templates/*'], 85 85 'trac': ['htdocs/*.*', 'htdocs/README', 'htdocs/js/*.*',
Note:
See TracTickets
for help on using tickets.