forked from koaning/scikit-lego
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
77 lines (70 loc) · 2.04 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
76
77
import os
from setuptools import setup, find_packages
import sklego
base_packages = [
"numpy>=1.16.0",
"scipy>=1.2.0",
"scikit-learn>=0.20.2",
"pandas>=0.23.4",
"patsy>=0.5.1",
"autograd>=1.2",
"Deprecated>=1.2.6",
"umap-learn>=0.4.3"
]
cvxpy_packages = ["cvxpy>=1.0.24"]
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",
"plotnine>=0.5.1",
"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.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)