-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (40 loc) · 1.35 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
from io import open
from os import path
from setuptools import find_packages, setup
DESCRIPTION = "CFXplorer is a python package for generating counterfactual explanations for given model and feature set"
# get __version__ from _version.py
ver_file = path.join("cfxplorer", "version.py")
with open(ver_file) as f:
exec(f.read())
this_directory = path.abspath(path.dirname(__file__))
# read the contents of README.rst
def readme():
with open(path.join(this_directory, "README.rst"), encoding="utf-8") as f:
return f.read()
setup(
name="CFXplorer",
version=__version__,
author="Kyosuke Morita",
author_email="[email protected]",
description=DESCRIPTION,
long_description=readme(),
packages=find_packages(),
install_requires=[],
keywords=[
"python",
"counterfactual explanation",
"binary classification",
"machine learning",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
)