forked from alex-pirozhenko/sklearn-pmml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (27 loc) · 916 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
31
32
33
34
35
36
import os
from setuptools import setup, Command
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
required = f.read().splitlines()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
import sys
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
setup(
name='sklearn-pmml',
version='0.0.1',
packages=['sklearn_pmml', 'sklearn_pmml.convert', 'sklearn_pmml.convert.test'],
install_requires=required,
cmdclass={'test': PyTest},
url='https://github.com/alex-pirozhenko/sklearn-pmml',
license='MIT',
author='Alex Pirozhenko',
author_email='[email protected]',
description='A library that allows serialization of SciKit-Learn estimators into PMML'
)