-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
87 lines (77 loc) · 3.01 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
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, 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.13.3", # this will be bumped automatically by bump-my-version
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.9",
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,<9.0.0",
"sphinx_rtd_theme>=1.0,<3.1",
"sphinx-markdown-tables~=0.0.15",
"sphinx-click>=3.1,<6.1",
"sphinx_copybutton~=0.5.0",
"myst-parser>=0.17.2,<4.1.0",
],
"test": [
"pytest>=5.4.0, <9.0.0", # pytest==8.0.0 breaks pytest-lazy-fixture : https://github.com/TvoroG/pytest-lazy-fixture/issues/65
"pytest-cov>=2.8.0, <7.0.0",
"pytest-lazy-fixtures>=1.0.0, <2.0.0",
"pytest-mock>=3.1.0, <4.0.0",
"ruff>=0.5.0,<0.8.0", # ensure consistency with pre-commit
"scikit-learn>=0.23.0, <1.6.0",
"kedro-datasets[pandas.CSVDataSet]",
],
"dev": [
"pre-commit>=2.0.0,<5.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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Kedro",
"Environment :: Plugins",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
],
)