Skip to content

Commit

Permalink
Add jira, megaplan and activecollab deps as extras
Browse files Browse the repository at this point in the history
This uses the extras_require value in setup.py. For instance , if you
want to use bugwarrior with jira you need to install it with:

  pip install bugwarrior[jira]
  • Loading branch information
gdetrez committed Mar 1, 2016
1 parent 8cf8950 commit 0227139
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ before_install:
- pip install mock
- pip install unittest2
- cd $TRAVIS_BUILD_DIR
install: python setup.py install
install: pip install .[jira,megaplan,activecollab]
script: nosetests -w tests
notifications:
email: true
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@
"lockfile>=0.9.1",
"click",
"pyxdg",
"jira>=0.22",
"megaplan>=1.4",
"pypandoc",
"pyac",
],
extras_require=dict(
jira=["jira>=0.22"],
megaplan=["megaplan>=1.4"],
activecollab=["pypandoc", "pyac"]
),
tests_require=[
"Mock",
"unittest2",
Expand Down

0 comments on commit 0227139

Please sign in to comment.