-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (21 loc) · 800 Bytes
/
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
#!/usr/bin/env python
import os
import graph_ensemble
DEPENDENCIES = ['numpy', 'sklearn']
metadata = dict()
try:
from setuptools import setup, find_packages
packages = find_packages()
metadata['install_requires'] = DEPENDENCIES
except ImportError:
from distutils.core import setup
from pkgutil import walk_packages
packages = [package for _, package, ispkg in walk_packages('.') if ispkg]
metadata['requires'] = DEPENDENCIES
metadata['name'] = 'GraphEnsemble'
metadata['description'] = 'A framework for creating arbitrary graphs of machine learning models'
metadata['version'] = graph_ensemble.__version__
metadata['license'] = 'BSD 3-Clause License'
metadata['url'] = 'https://github.com/YotamFY/GraphEnsemble'
metadata['packages'] = packages
setup(**metadata)