forked from ncfirth/kde_ebm_open
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
49 lines (36 loc) · 1.71 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Authors: Nicholas C. Firth <[email protected]>, Neil P. Oxtoby <github:noxtoby>
# License: TBC
def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_package, top_path)
# Avoid non-useful msg:
# "Ignoring attempt to set 'name' (from ... "
config.set_options(ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True)
config.add_subpackage('kdeebm')
return config
def setup_package():
metadata = dict(name='kdeebm',
maintainer='Neil P. Oxtoby',
maintainer_email='[email protected]',
description='Event based model with KDE mixture model under the hood',
license='TBC',
url='https://github.com/ucl-pond',
version='0.0.1',
zip_safe=False,
classifiers=['Intended Audience :: Science/Research',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
)
from numpy.distutils.core import setup
metadata['configuration'] = configuration
setup(**metadata)
if __name__ == "__main__":
setup_package()