version file added

This commit is contained in:
Max Zwiessele 2014-01-07 10:37:43 +00:00
parent 621a1802ed
commit feb34a7c98
3 changed files with 9 additions and 4 deletions

View file

@ -4,6 +4,9 @@ import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)
import os
with open("version", 'r') as f:
__version__ = f.read()
import core
import models
import mappings

1
GPy/version Normal file
View file

@ -0,0 +1 @@
0.4.7b

View file

@ -4,12 +4,13 @@
import os
from setuptools import setup
# Version number
version = '0.4.6'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# Version number
version = read('GPy/version')
setup(name = 'GPy',
version = version,
author = read('AUTHORS.txt'),
@ -20,10 +21,10 @@ setup(name = 'GPy',
url = "http://sheffieldml.github.com/GPy/",
packages = ['GPy', 'GPy.core', 'GPy.kern', 'GPy.util', 'GPy.models_modules', 'GPy.inference', 'GPy.examples', 'GPy.likelihoods', 'GPy.testing', 'GPy.util.latent_space_visualizations', 'GPy.util.latent_space_visualizations.controllers', 'GPy.likelihoods.noise_models', 'GPy.kern.parts', 'GPy.mappings'],
package_dir={'GPy': 'GPy'},
package_data = {'GPy': ['GPy/examples', 'gpy_config.cfg', 'util/data_resources.json']},
package_data = {'GPy': ['GPy/examples', 'gpy_config.cfg', 'util/data_resources.json', 'version']},
py_modules = ['GPy.__init__'],
long_description=read('README.md'),
install_requires=['numpy>=1.6', 'scipy>=0.9','matplotlib>=1.1', 'nose'],
install_requires=['numpy >= 1.6', 'scipy == 0.12','matplotlib >= 1.2', 'nose'],
extras_require = {
'docs':['Sphinx', 'ipython'],
},