Skip to content

Commit

Permalink
fixing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
faroit committed Jun 30, 2016
1 parent 123db4f commit bb87b06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# -*- coding: utf-8 -*-

import os
import sys
import fake_numpy
import fake_cffi

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

Expand Down Expand Up @@ -63,7 +66,5 @@
]

# Fake imports to avoid actually loading NumPy and libsndfile
import fake_numpy
sys.modules['numpy'] = sys.modules['fake_numpy']
import fake_cffi
sys.modules['cffi'] = sys.modules['fake_cffi']

0 comments on commit bb87b06

Please sign in to comment.