forked from koaning/scikit-lego
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (68 loc) · 2.02 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
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
74
75
import os
from setuptools import setup, find_packages
import sklego
base_packages = [
"scikit-learn>=0.24.1",
"pandas>=1.1.5",
"patsy>=0.5.1",
"autograd>=1.2",
"Deprecated>=1.2.6",
"umap-learn>=0.4.6"
]
cvxpy_packages = ["cvxpy>=1.1.8"]
all_packages = cvxpy_packages
docs_packages = [
"sphinx==1.8.5",
"sphinx_rtd_theme>=0.4.3",
"nbsphinx>=0.4.2",
"recommonmark==0.6.0",
]
test_packages = all_packages + [ # we need extras packages for their tests
"flake8>=3.6.0",
"nbval>=0.9.1",
"pytest==5.4.1",
"pytest-xdist==1.34.0",
"black>=19.3b0",
"pytest-cov>=2.6.1",
"pytest-mock>=1.6.3",
"pre-commit>=1.18.3",
]
util_packages = [
"matplotlib>=3.0.2",
"jupyter>=1.0.0",
"jupyterlab>=0.35.4",
]
dev_packages = docs_packages + test_packages + util_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="scikit-lego",
version=sklego.__version__,
description="a collection of lego bricks for scikit-learn pipelines",
author="Vincent D. Warmerdam & Matthijs Brouns",
url="https://scikit-lego.netlify.app/",
packages=find_packages(exclude=["notebooks"]),
package_data={"sklego": ["data/*.zip"]},
long_description=read("readme.md"),
long_description_content_type="text/markdown",
install_requires=base_packages,
extras_require={
"base": base_packages,
"cvxpy": cvxpy_packages,
"all": all_packages,
"docs": docs_packages,
"dev": dev_packages,
"test": test_packages,
},
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)