Skip to content

Commit

Permalink
Replace import from IPython with nbconvert/traitlets.
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Nov 23, 2015
1 parent e5c6bb6 commit 211e662
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/notebook_gen_sphinxext.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os
import os.path

from IPython.nbconvert.exporters import rst
from nbconvert.exporters import rst

def setup(app):
setup.app = app
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def run(self):
import glob
import os
import os.path
from IPython.nbconvert.exporters import python
from IPython.config import Config
from nbconvert.exporters import python
from traitlets.config import Config
examples_dir = os.path.join(os.path.dirname(__file__), 'examples')
script_dir = os.path.join(examples_dir, 'scripts')
if not os.path.exists(script_dir):
Expand Down

0 comments on commit 211e662

Please sign in to comment.