-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (24 loc) · 868 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
30
31
32
# -*- coding: utf-8 -*-
from setuptools import setup, Command
# https://pytest.org/latest/goodpractises.html#integrating-with-setuptools-python-setup-py-test
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
import sys
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
setup(name='dc_evaluation',
version='1.0',
packages=['eval'],
author=['Miroslav Batchkarov'],
author_email=['[email protected]'],
install_requires=['pandas', 'numpy', 'scipy', 'scikit-learn',
'scikit-learn', 'joblib', 'configobj',
'networkx'],
tests_require=['pytest>=2.4.2'],
cmdclass={'test': PyTest}, )