Fixed the fecking subpackage...

This commit is contained in:
Alan Saul 2013-02-08 16:04:26 +00:00
parent b932571100
commit af3210396e
2 changed files with 5 additions and 5 deletions

View file

@ -39,11 +39,11 @@ except ImportError:
parent = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
sys.path.insert(0, parent)
sys.path.append(parent)
#sys.path.append(parent)
parent = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'GPy'))
sys.path.insert(0, parent)
sys.path.append(parent)
#parent = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'GPy'))
#sys.path.insert(0, parent)
#sys.path.append(parent)
#APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../'))
#PACKAGE_DIR1 = os.path.normpath(os.path.join(os.getcwd(), '../'))

View file

@ -20,7 +20,7 @@ setup(name = 'GPy',
license = "BSD 3-clause",
keywords = "machine-learning gaussian-processes kernels",
url = "http://ml.sheffield.ac.uk/GPy/",
packages = ['GPy', 'GPy.core', 'GPy.kern', 'GPy.util', 'GPy.models', 'GPy.inference', 'GPy.examples'],
packages = ['GPy', 'GPy.core', 'GPy.kern', 'GPy.util', 'GPy.models', 'GPy.inference', 'GPy.examples', 'GPy.likelihoods'],
package_dir={'GPy': 'GPy'},
package_data = {'GPy': ['GPy/examples']},
py_modules = ['GPy.__init__'],