Skip to content

Commit

Permalink
Bugfix #124: imports GPy before installing it
Browse files Browse the repository at this point in the history
  • Loading branch information
sigvaldm committed Dec 15, 2020
1 parent 6d2c3ff commit 7a944fd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
11 changes: 1 addition & 10 deletions ezyrb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,7 @@
'approximation', 'rbf', 'linear', 'gpr'
]

__project__ = 'EZyRB'
__title__ = "ezyrb"
__author__ = "Nicola Demo, Marco Tezzele"
__copyright__ = "Copyright 2016-2019, EZyRB contributors"
__license__ = "MIT"
__version__ = "1.0"
__mail__ = 'demo.nicola@gmail.com, marcotez@gmail.com'
__maintainer__ = __author__
__status__ = "Stable"

from .meta import *
from .database import Database
from .reduction import Reduction
from .pod import POD
Expand Down
9 changes: 9 additions & 0 deletions ezyrb/meta.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
__project__ = 'EZyRB'
__title__ = "ezyrb"
__author__ = "Nicola Demo, Marco Tezzele"
__copyright__ = "Copyright 2016-2019, EZyRB contributors"
__license__ = "MIT"
__version__ = "1.0"
__mail__ = 'demo.nicola@gmail.com, marcotez@gmail.com'
__maintainer__ = __author__
__status__ = "Stable"
21 changes: 12 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
from setuptools import setup, Command
import os
import sys
import ezyrb
from shutil import rmtree

meta = {}
with open("ezyrb/meta.py") as fp:
exec(fp.read(), meta)

# Package meta-data.
NAME = ezyrb.__title__
NAME = meta['__title__']
DESCRIPTION = 'Easy Reduced Basis'
URL = 'https://github.com/mathLab/EZyRB'
MAIL = ezyrb.__mail__
AUTHOR = ezyrb.__author__
VERSION = ezyrb.__version__
MAIL = meta['__mail__']
AUTHOR = meta['__author__']
VERSION = meta['__version__']
KEYWORDS='pod interpolation reduced-basis model-order-reduction'

REQUIRED = [
Expand Down Expand Up @@ -75,10 +78,10 @@ def run(self):
author=AUTHOR,
author_email=MAIL,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics'
],
Expand Down

0 comments on commit 7a944fd

Please sign in to comment.