forked from maet3608/nuts-ml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
84 lines (73 loc) · 2.39 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import os
import sys
import glob
import shutil
import nutsml
from setuptools import setup, find_packages, Command
from setuptools.command.test import test as TestCommand
class CleanCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
for folder in ['build', 'dist']:
if os.path.exists(folder):
shutil.rmtree(folder)
for egg_file in glob.glob('*egg-info'):
shutil.rmtree(egg_file)
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name='nutsml',
version=nutsml.__version__,
url='https://maet3608.github.io/nuts-ml',
download_url='https://github.com/maet3608/nuts-ml',
license='Apache Software License (http://www.apache.org/licenses/LICENSE-2.0)',
author='Stefan Maetschke',
author_email='stefan.maetschke@gmail.com',
description='Flow-based data pre-processing for Machine Learning',
install_requires=[
'nutsflow >= 1.0.33',
# 'pandas < 0.21.0', # Python 3.4 support!
'pandas > 0.21.0',
'six >= 1.10.0',
'pyyaml >= 3.12',
'xlrd >= 1.0.0',
'dplython >= 0.0.7',
'scipy >= 0.17.0',
'pillow >= 3.0.0',
'scikit-image >= 0.12.3',
'pytest >= 3.0.3',
],
tests_require=['pytest >= 3.0.3'],
platforms='any',
packages=find_packages(exclude=['setup']),
include_package_data=True,
cmdclass={
'test': PyTest,
'clean': CleanCommand,
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Natural Language :: English',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
)