-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
34 lines (31 loc) · 1.19 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
from distutils.util import convert_path
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
main_ns = {}
ver_path = convert_path('pycalib/__init__.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
setup(
name = 'pycalib',
packages = find_packages(exclude=['tests.*', 'tests', 'docs.*', 'docs']),
install_requires=[
'numpy>=1.22',
'scipy>=1.6',
'scikit-learn>=0.24',
'matplotlib>=3.3',
'statsmodels>=0.12'
],
version=main_ns['__version__'],
description = 'Python library with tools for classifier calibration.',
author = 'Miquel Perello Nieto, Hao Song, Telmo de Menezes e Silva Filho',
author_email = '[email protected]',
url = 'https://classifier-calibration.github.io/PyCalib/',
download_url = 'https://github.com/classifier-calibration/archive/{}.tar.gz'.format(main_ns['__version__']),
keywords = ['classifier calibration', 'calibration', 'classification'],
classifiers = [],
long_description=long_description,
long_description_content_type='text/markdown'
)