mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 02:52:40 +02:00
commit
2bf85d60e8
4 changed files with 10 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ from . import plotting
|
||||||
from .core import Model
|
from .core import Model
|
||||||
from .core.parameterization import Param, Parameterized, ObsAr
|
from .core.parameterization import Param, Parameterized, ObsAr
|
||||||
|
|
||||||
__version__ = '0.8.0'
|
from .__version__ import __version__
|
||||||
|
|
||||||
#@nottest
|
#@nottest
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
1
GPy/__version__.py
Normal file
1
GPy/__version__.py
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
__version__ = "0.8.0"
|
||||||
|
|
@ -3,5 +3,4 @@ current_version = 0.8.0
|
||||||
tag = True
|
tag = True
|
||||||
commit = True
|
commit = True
|
||||||
|
|
||||||
[bumpversion:file:setup.py]
|
[bumpversion:file:GPy/__version__.py]
|
||||||
[bumpversion:file:GPy/__init__.py]
|
|
||||||
|
|
|
||||||
11
setup.py
11
setup.py
|
|
@ -6,12 +6,14 @@ import sys
|
||||||
from setuptools import setup, Extension
|
from setuptools import setup, Extension
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
# Version number
|
|
||||||
__version__ = '0.8.0'
|
|
||||||
|
|
||||||
def read(fname):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
|
|
||||||
|
version_dummy = {}
|
||||||
|
exec(read('GPy/__version__.py'), version_dummy)
|
||||||
|
__version__ = version_dummy['__version__']
|
||||||
|
del version_dummy
|
||||||
|
|
||||||
#Mac OS X Clang doesn't support OpenMP th the current time.
|
#Mac OS X Clang doesn't support OpenMP th the current time.
|
||||||
#This detects if we are building on a Mac
|
#This detects if we are building on a Mac
|
||||||
def ismac():
|
def ismac():
|
||||||
|
|
@ -72,7 +74,8 @@ setup(name = 'GPy',
|
||||||
package_dir={'GPy': 'GPy'},
|
package_dir={'GPy': 'GPy'},
|
||||||
package_data = {'GPy': ['defaults.cfg', 'installation.cfg',
|
package_data = {'GPy': ['defaults.cfg', 'installation.cfg',
|
||||||
'util/data_resources.json',
|
'util/data_resources.json',
|
||||||
'util/football_teams.json']},
|
'util/football_teams.json',
|
||||||
|
]},
|
||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
py_modules = ['GPy.__init__'],
|
py_modules = ['GPy.__init__'],
|
||||||
test_suite = 'GPy.testing',
|
test_suite = 'GPy.testing',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue