-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
73 lines (68 loc) · 2.26 KB
/
setup.py
File metadata and controls
73 lines (68 loc) · 2.26 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import os
from setuptools import setup, find_packages
from distutils.util import convert_path
main_ns = {}
ver_path = convert_path("poniard/_version.py")
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
packages = find_packages(".", exclude=["*.test", "*.test.*"])
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="poniard",
version=main_ns["__version__"],
description="Streamline scikit-learn model comparison",
long_description=long_description,
long_description_content_type="text/markdown",
author="Rafael Xavier",
author_email="rxaviermontero@gmail.com",
license="MIT",
url="https://github.com/rxavier/poniard",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
],
keywords=[
"machine learning",
"scikit-learn",
],
entry_points={"nbdev": ["poniard=poniard._modidx:d"]},
install_requires=[
"scikit-learn>=1.0.2; python_version < '3.8'",
"scikit-learn>=1.1.0; python_version >= '3.8'",
"xgboost>=1.5.0",
"pandas>=1.3.5",
"numpy>=1.22.0; python_version >= '3.8'",
"plotly",
"tqdm", # Due to vuinerability for previous versions
],
extras_require={
"dev": [
"pytest",
"tox",
"tox-gh-actions",
"jupyter",
"ipywidgets<8.0.0",
"black[jupyter]",
"pre-commit",
"nbdev>=2.3.9",
"wandb",
"pandas-profiling>=3.3.0",
]
},
include_package_data=True,
packages=packages,
python_requires=">=3.7",
)