-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
36 lines (31 loc) · 1.15 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools import find_packages
from weka_porter import Porter
path = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(path, 'requirements.txt')) as f:
all_reqs = f.read().split('\n')
install_requires = [x.strip() for x in all_reqs if 'git+' not in x]
setup(
name='weka-porter',
packages=find_packages(exclude=["tests.*", "tests"]),
include_package_data=True,
version=Porter.__version__,
description='Transpile trained decision trees from Weka to a low-level programming language.',
author='Darius Morawiec',
author_email='ping@nok.onl',
url='https://github.com/nok/weka-porter/tree/stable',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
install_requires=install_requires,
keywords=['weka', 'decision-tree'],
license='MIT',
)