forked from moodlehq/moodle-mlbackend-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (41 loc) · 1.53 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
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
import os
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Version read from file.
version_file = open(os.path.join(here, 'moodlemlbackend', 'VERSION'))
version = version_file.read().strip()
setup(
name='moodlemlbackend',
version=version,
description='Python machine learning backend used by mlbackend_python Moodle plugin',
long_description=long_description,
# The project's main homepage.
url='https://github.com/moodlehq/moodle-mlbackend-python',
# Author details
author='Moodle HQ',
author_email='integration@moodle.com',
# Choose your license
license='GPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Topic :: Education',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='moodle machine learning numpy scikit-learn tensorflow',
packages=find_packages(),
package_data={
'moodlemlbackend': ['VERSION']
},
install_requires=open('requirements.txt').readlines(),
)