responsible-ai-widgets/responsibleai/setup.py

57 строки
1.7 KiB
Python

# Copyright (c) Microsoft Corporation
# Licensed under the MIT License.
import os
import setuptools
# Version will be read from version.py
version = ''
name = 'responsibleai'
# Fetch Version
with open(os.path.join(name, '__version__.py')) as f:
code = compile(f.read(), f.name, 'exec')
exec(code)
# Fetch ReadMe
with open('README.md', 'r') as fh:
long_description = fh.read()
# Use requirements.txt to set the install_requires
with open('requirements.txt') as f:
install_requires = [line.strip() for line in f]
setuptools.setup(
name=name, # noqa: F821
version=version, # noqa: F821
author="Roman Lutz, Ilya Matiach, Ke Xu",
author_email="raiwidgets-maintain@microsoft.com",
description="SDK API to explain "
"models, generate counterfactual examples, analyze "
"causal effects and analyze errors in Machine Learning "
"models.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/responsible-ai-toolbox",
packages=setuptools.find_packages(),
package_data={
'': [
'schema_*.json',
'counterfactual_examples_output_*.json',
'error_analysis_output_v0.0.json',
]
},
include_package_data=True,
python_requires='>=3.7',
install_requires=install_requires,
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha"
]
)