diff --git a/libstempo/toasim.py b/libstempo/toasim.py
index <HASH>..<HASH> 100644
--- a/libstempo/toasim.py
+++ b/libstempo/toasim.py
@@ -6,7 +6,7 @@ import math, os
 import numpy as N, scipy.interpolate as interp
 
 import libstempo
-import libstempo.spharmORFbasis as anis
+import spharmORFbasis as anis
 
 try:
     import ephem
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -64,7 +64,7 @@ setup(name = 'libstempo',
       package_dir = {'libstempo': 'libstempo'},
       package_data = {'libstempo': ['data/*']},
 
-      py_modules = ['libstempo.like','libstempo.multinest','libstempo.emcee','libstempo.plot','libstempo.toasim'],
+      py_modules = ['libstempo.like','libstempo.multinest','libstempo.emcee','libstempo.plot','libstempo.toasim','libstempo.spharmORFbasis'],
 
       ext_modules = cythonize(Extension('libstempo.libstempo',['libstempo/libstempo.pyx'],
                                         language="c++",
FIXED: mudule spharmORFbasis did not get installed.