https://github.com/yzhao062/SUOD
Tip revision: 0458f08747e13f2c54896185347b703f61e992bc authored by yzhao062 on 08 February 2024, 01:48:49 UTC
fix issue #14 for scikit-learning update
fix issue #14 for scikit-learning update
Tip revision: 0458f08
setup.py
from setuptools import find_packages, setup
# read the contents of README file
from os import path
from io import open # for Python 2 and 3 compatibility
# get __version__ from _version.py
ver_file = path.join('suod', '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()
# read the contents of requirements.txt
with open(path.join(this_directory, 'requirements.txt'),
encoding='utf-8') as f:
requirements = f.read().splitlines()
setup(
name='suod',
version=__version__,
description='A Scalable Framework for Unsupervised Outlier Detection (Anomaly Detection)',
long_description=readme(),
long_description_content_type='text/x-rst',
author='Yue Zhao',
author_email='yzhao062@gmail.com',
url='https://github.com/yzhao062/suod',
download_url='https://github.com/yzhao062/suod/archive/master.zip',
keywords=['ensemble learning', 'anomaly detection', 'outlier ensembles',
'data mining', 'machine learning', 'python'],
packages=find_packages(exclude=['test']),
include_package_data=True,
install_requires=requirements,
setup_requires=['setuptools>=38.6.0'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)