加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 2.02 KB
一键复制 编辑 原始数据 按行查看 历史
Antoni Baum 提交于 2023-05-14 21:25 . Bump version to 3.0.1
# Copyright (C) 2019-2020 Moez Ali <moez.ali@queensu.ca>
# License: MIT, moez.ali@queensu.ca
from setuptools import find_packages, setup
def readme():
with open("README.md", encoding="utf8") as f:
README = f.read()
return README
with open("requirements.txt") as f:
required = f.read().splitlines()
with open("requirements-optional.txt") as f:
required_optional = f.read()
with open("requirements-test.txt") as f:
required_test = f.read().splitlines()
extras_require = {
"analysis": required_optional.split("\n\n")[0].splitlines(),
"models": required_optional.split("\n\n")[1].splitlines(),
"tuners": required_optional.split("\n\n")[2].splitlines(),
"mlops": required_optional.split("\n\n")[3].splitlines(),
"parallel": required_optional.split("\n\n")[4].splitlines(),
"test": required_test,
}
extras_require["full"] = (
extras_require["analysis"]
+ extras_require["models"]
+ extras_require["tuners"]
+ extras_require["mlops"]
+ extras_require["parallel"]
+ extras_require["test"]
)
setup(
name="pycaret",
version="3.0.1",
description="PyCaret - An open source, low-code machine learning library in Python.",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/pycaret/pycaret",
author="Moez Ali",
author_email="moez.ali@queensu.ca",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=find_packages(include=["pycaret*"]),
include_package_data=True,
install_requires=required,
extras_require=extras_require,
tests_require=required_test,
python_requires=">=3.7",
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化