Skip to content

Commit

Permalink
Merge pull request #1854 from jseabold/fix-path
Browse files Browse the repository at this point in the history
BLD: Don't hard-code path for building notebooks. Closes #1249
  • Loading branch information
josef-pkt committed Aug 1, 2014
2 parents 15975a7 + 85c2e2a commit b7869d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/nbgenerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@

# prefer HTML over rST for now until nbconvert changes drop
OUTPUT = "html"
SOURCE_DIR = "/home/skipper/statsmodels/statsmodels/examples/notebooks"

import os
import io
import sys
import time
import shutil

SOURCE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "..",
"examples",
"notebooks"))

from Queue import Empty

try: # IPython has been refactored
Expand Down

0 comments on commit b7869d9

Please sign in to comment.