Skip to content

Commit eecf8c2

Browse files
authored
Merge pull request #44 from click-contrib/sdist-tests
Add tests directory to tarball
2 parents 048047b + 6cc9718 commit eecf8c2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include README.md
22
include CHANGELOG.md
33
include LICENSE
4+
graft tests/

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def get_long_description():
3838
],
3939
extras_require={
4040
'docs': ['sphinx>=3.0, <6', 'Pallets-Sphinx-Themes', 'm2r2'],
41-
'tests': ['coverage <6', 'pytest', 'pytest-cov', 'coveralls'],
41+
'tests': ['pytest'],
42+
'tests_cov': ['pytest', 'pytest-cov', 'coverage <6', 'coveralls'],
4243
},
4344
url='https://github.com/click-contrib/click-option-group',
4445
project_urls={

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ commands =
1010
[testenv:py310-pytest-coverage]
1111
passenv = TRAVIS TRAVIS_*
1212
commands =
13-
pip install -e .[tests]
13+
pip install -e .[tests_cov]
1414
pytest --cov=click_option_group --color=yes -v {posargs}
1515
coveralls
1616

0 commit comments

Comments
 (0)