Skip to content

Commit

Permalink
Merge pull request #61 from minrk/app-version
Browse files Browse the repository at this point in the history
ensure `nbconvert --version` gives actual version
  • Loading branch information
takluyver committed Jul 12, 2015
2 parents f4df398 + 4bedf16 commit 353fba6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nbconvert/nbconvertapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from ipython_genutils.importstring import import_item

from .exporters.export import get_export_names, exporter_map
from nbconvert import exporters, preprocessors, writers, postprocessors
from nbconvert import exporters, preprocessors, writers, postprocessors, __version__
from .utils.base import NbConvertBase
from .utils.exceptions import ConversionException

Expand Down Expand Up @@ -86,7 +86,8 @@ def validate(self, obj, value):

class NbConvertApp(JupyterApp):
"""Application used to convert from notebook file type (``*.ipynb``)"""


version = __version__
name = 'jupyter-nbconvert'
aliases = nbconvert_aliases
flags = nbconvert_flags
Expand Down

0 comments on commit 353fba6

Please sign in to comment.