Modify ↓
Opened 9 years ago
Closed 9 years ago
#12487 closed defect (fixed)
Package includes subdirectories of tests
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: |
Exclude subdirectories of |
||
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/*.*',
Attachments (0)
Change History (1)
comment:1 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Committed to 1.0-stable in [14799], merged to trunk in [14800].