Skip to content

Commit

Permalink
Add coloredlogs dependency to tests_require.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed Sep 1, 2016
1 parent 2f342d0 commit 8efa663
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@

VSC_INSTALL_REQ_VERSION = '0.10.1'

_coloredlogs_pkgs = [
'coloredlogs', # automatic log colorizer
'humanfriendly', # detect if terminal has colors
]

PACKAGE = {
'version': '2.5.3',
'author': [sdw, jt, ag, kh],
Expand All @@ -46,12 +51,10 @@
# setuptools must become a requirement for shared namespaces if vsc-install is removed as requirement
'install_requires': ['vsc-install >= %s' % VSC_INSTALL_REQ_VERSION],
'extras_require': {
'coloredlogs': [
'coloredlogs', # automatic log colorizer
'humanfriendly', # detect if terminal has colors
],
'coloredlogs': _coloredlogs_pkgs,
},
'setup_requires': ['vsc-install >= %s' % VSC_INSTALL_REQ_VERSION],
'tests_require': _coloredlogs_pkgs,
}

if __name__ == '__main__':
Expand Down

0 comments on commit 8efa663

Please sign in to comment.