Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
parent-dir import hack for conf
Browse files Browse the repository at this point in the history
  • Loading branch information
emmettbutler committed Apr 23, 2015
1 parent 4ddd2ca commit 3873454
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"""

# -*- coding: utf-8 -*-
import os
import sys
import inspect
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(currentdir)
sys.path.insert(0, parentdir)
from version import version

project = u'pykafka'
Expand Down

0 comments on commit 3873454

Please sign in to comment.