-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
78 lines (71 loc) · 2.59 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# MLDataHub
# Copyright (C) 2017 Iván de Paz Centeno <ipazc@unileon.es>.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 3
# of the License or (at your option) any later version of
# the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
import sys
from setuptools import setup, setuptools
from mldatahub import __version__
__author__ = 'Iván de Paz Centeno'
def readme():
with open('README.rst') as f:
return f.read()
if sys.version_info < (3, 4, 1):
sys.exit('Python < 3.4.1 is not supported!')
setup(name='mldatahub',
version=__version__,
description='REST API hub for storing ML datasets.',
long_description=readme(),
url='http://github.com/ipazc/mldatahub',
author='Iván de Paz Centeno',
author_email='ipazc@unileon.es',
license='GNU GPLv3 or later',
packages=setuptools.find_packages(),
install_requires=[
"pyzip",
"flask",
"flask_restful",
"ming"
],
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Framework :: Flask',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)'
],
entry_points = {
'console_scripts': ['mldatahub=mldatahub.entry_point:main'],
},
data_files = [
('/etc/mldatahub', ['mldatahub/config_example.json'])
],
test_suite='nose.collector',
tests_require=['nose'],
include_package_data=True,
keywords="machine-learning data hub datasets dataset store RESTAPI restful",
zip_safe=False)