-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
44 lines (41 loc) · 1.98 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
'''
SKompiler: Library for converting trained SKLearn models into abstract expressions suitable
for further compilation into executable code in various languages.
Author: Konstantin Tretyakov
License: MIT
'''
from setuptools import setup, find_packages
setup(name='SKompiler',
version=[ln for ln in open("skompiler/__init__.py") if ln.startswith("__version__")][0].split("'")[1],
description="Library for compiling trained SKLearn models into abstract expressions "
"suitable for further compilation into executable code in various languages.",
long_description=open("README.md", encoding='utf-8').read(),
long_description_content_type="text/markdown",
classifiers=[ # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Code Generators',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
],
keywords='sklearn datascience modelling deployment',
author='Konstantin Tretyakov',
author_email='[email protected]',
url='https://github.com/konstantint/SKompiler',
license='MIT',
packages=find_packages(exclude=["examples", "tests"]),
include_package_data=True,
zip_safe=True,
install_requires=["scikit-learn >= 0.22"],
extras_require={
"full": ["sympy", "sqlalchemy", "astor >= 0.6"],
"test": ["sympy", "sqlalchemy", "astor >= 0.6", "pytest", "pandas", "titus2"],
"dev": ["sympy", "sqlalchemy", "astor >= 0.6", "pytest", "pandas",
"pylint", "jupyter", "twine", "pyyaml", "titus2"],
}
)