-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (36 loc) · 1.12 KB
/
setup.py
File metadata and controls
38 lines (36 loc) · 1.12 KB
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
from distutils.core import setup
from setuptools import find_packages
import os
import re
here = os.path.abspath(os.path.dirname(__file__))
try:
# obtain version string from __init__.py
# Read ASCII file with builtin open() so __version__ is str in Python 2 and 3
with open(os.path.join(here, 'deepensemble', '__init__.py'), 'r') as f:
init_py = f.read()
version = re.search('__version__ = "(.*)"', init_py).groups()[0]
except Exception:
version = ''
setup(
name='deepensemble',
version=version,
packages=find_packages(),
url='https://github.com/pdoren/DeepEnsemble',
download_url='https://github.com/pdoren/DeepEnsemble/tarball/0.1',
license='MIT',
author='pdoren',
author_email='pablo.saavedra@ug.uchile.cl',
description='Library for working with Ensemble Models.',
keywords="",
include_package_data=False,
zip_safe=False,
install_requires=['numpy', 'theano', 'scikit-learn', 'matplotlib', 'pandas'],
extras_require={
'testing': [
'mock',
'pytest',
'pytest-cov',
'pytest-pep8',
],
},
)