代码拉取完成,页面将自动刷新
from __future__ import absolute_import
import os
from setuptools import find_packages, setup
pkg_root = os.path.dirname(os.path.abspath(__file__))
REQUIREMENTS_FILE = "requirements/requirements.txt"
PACKAGE_NAME = os.getenv("PACKAGE_NAME", "pai")
version_data = {}
with open(os.path.join(pkg_root, "pai/version.py")) as fp:
exec(fp.read(), version_data)
version = version_data["VERSION"]
def read_requirements():
with open(os.path.join(pkg_root, REQUIREMENTS_FILE), "r") as f:
return [line.strip() for line in f.readlines() if line.strip()]
long_description = None
if os.path.exists("README.md"):
with open("README.md") as f:
long_description = f.read()
setup(
name=PACKAGE_NAME,
python_requires=">=3.8",
version=version,
description="Alibaba Cloud PAI Python SDK",
long_description=long_description,
long_description_content_type="text/markdown",
include_package_data=True,
url="https://www.aliyun.com/product/bigdata/product/learn",
packages=find_packages(include=["pai", "pai.*"]),
install_requires=read_requirements(),
author="Alibaba PAI team",
keywords="ML Alibaba Cloud PAI Training Inference Pipeline",
license="Apache License 2.0",
classifier=[
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Development Status :: 4 - Beta",
],
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。