Skip to content

Commit 45fbee2

Browse files
committed
Include tests folder in source distribution
Renamed files to enable convenient glob matching in MANIFEST.in Fixes pypa#714
1 parent 9cb4468 commit 45fbee2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

MANIFEST.in

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
recursive-include bin *
21
recursive-include docs *
3-
recursive-include scripts *
2+
recursive-include tests *.py *.sh *.expected
43
recursive-include virtualenv_support *.whl
54
recursive-include virtualenv_embedded *
65
recursive-exclude docs/_templates *
76
recursive-exclude docs/_build *
87
include virtualenv_support/__init__.py
8+
include bin/*
9+
include scripts/*
910
include *.py
1011
include AUTHORS.txt
1112
include LICENSE.txt

tests/test_activate.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ rm -rf ${TESTENV}
1010

1111
echo "$0: Creating virtualenv ${TESTENV}..." 1>&2
1212

13-
${VIRTUALENV} ${TESTENV} | tee ${ROOT}/tests/test_activate_actual.output
14-
if ! diff ${ROOT}/tests/test_activate_expected.output ${ROOT}/tests/test_activate_actual.output; then
13+
${VIRTUALENV} ${TESTENV} | tee ${ROOT}/tests/test_activate_output.actual
14+
if ! diff ${ROOT}/tests/test_activate_output.expected ${ROOT}/tests/test_activate_output.actual; then
1515
echo "$0: Failed to get expected output from ${VIRTUALENV}!" 1>&2
1616
exit 1
1717
fi
File renamed without changes.

0 commit comments

Comments
 (0)