forked from Galileo-Galilei/kedro-mlflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
88 lines (78 loc) · 3.05 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
78
79
80
81
82
83
84
85
86
87
88
import pathlib
from setuptools import find_packages, setup
NAME = "kedro_mlflow"
HERE = pathlib.Path(__file__).parent
def _parse_requirements(path, encoding="utf-8"):
with open(path, mode="r", encoding=encoding) as file_handler:
requirements = [
x.strip() for x in file_handler if x.strip() and not x.startswith("-r")
]
return requirements
# get the dependencies and installs
base_requirements = _parse_requirements("requirements.txt")
# Get the long description from the README file
with open((HERE / "README.md").as_posix(), encoding="utf-8") as file_handler:
README = file_handler.read()
setup(
name=NAME,
version="0.11.4", # this will be bumped automatically by bump2version
description="A kedro-plugin to use mlflow in your kedro projects",
license="Apache Software License (Apache 2.0)",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/Galileo-Galilei/kedro-mlflow",
python_requires=">=3.7, <3.11",
packages=find_packages(exclude=["docs*", "tests*"]),
setup_requires=["setuptools_scm"],
include_package_data=True,
install_requires=base_requirements,
extras_require={
"doc": [
"sphinx>=4.5.0,<6.0.0",
"sphinx_rtd_theme~=1.0.0",
"sphinx-markdown-tables~=0.0.15",
"sphinx-click>=3.1,<4.4",
"sphinx_copybutton~=0.5.0",
"myst-parser>=0.17.2,<0.19.0",
],
"test": [
"pytest>=5.4.0, <8.0.0",
"pytest-cov>=2.8.0, <4.0.0",
"pytest-lazy-fixture>=0.6.0, <1.0.0",
"pytest-mock>=3.1.0, <4.0.0",
"scikit-learn>=0.23.0, <1.2.0",
"flake8==5.0.4", # ensure consistency with pre-commit
"black==22.10.0", # pin black version because it is not compatible with a pip range (because of non semver version number)
"isort==5.10.1", # ensure consistency with pre-commit
],
"dev": [
"pre-commit>=2.0.0,<3.0.0",
"jupyter>=1.0.0,<2.0.0",
],
},
author="Yolan Honoré-Rougé",
entry_points={
"kedro.project_commands": [
"kedro_mlflow = kedro_mlflow.framework.cli.cli:commands"
],
"kedro.hooks": [
"mlflow_hook = kedro_mlflow.framework.hooks.mlflow_hook:mlflow_hook",
],
},
zip_safe=False,
keywords="kedro-plugin, mlflow, model versioning, model packaging, pipelines, machine learning, data pipelines, data science, data engineering",
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: Kedro",
"Environment :: Plugins",
"Framework :: Kedro",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
],
)