mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
version file added
This commit is contained in:
parent
621a1802ed
commit
feb34a7c98
3 changed files with 9 additions and 4 deletions
|
|
@ -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
1
GPy/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
0.4.7b
|
||||
9
setup.py
9
setup.py
|
|
@ -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'],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue