-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (27 loc) · 921 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
#!/usr/bin/env python
from distutils.core import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
pytest.main(self.test_args)
setup(name='neukrill-net',
version='1.0',
description='Neukrill-net NDSB tools',
author='neuroglycerin',
author_email='[email protected]',
packages=['neukrill_net'],
tests_require=['pytest'],
install_requires=['scipy==0.14.0',
'numpy==1.9.1',
'six==1.8.0',
'pytest==2.6.4',
'Pillow==2.7.0',
'scikit-image==0.10.1',
'scikit-learn==0.15.2'],
cmdclass={'test': PyTest},
)