2 Star 0 Fork 0

mirrors_rancher/client-python

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 962 Bytes
一键复制 编辑 原始数据 按行查看 历史
import sys
from setuptools import setup
if sys.version_info.major != 3:
raise RuntimeError("This package requires Python 3+")
# https://caremad.io/2013/07/setup-vs-requirement/
with open('./requirements.txt') as r:
# strip fixed version info from requirements file
requirements = [line.split('=', 1)[0] for line in r]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='client-python',
version='0.2.0',
py_modules=['rancher'],
url='https://github.com/rancher/client-python',
license='MIT Style',
description='Python client for the Rancher API',
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=requirements,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_rancher/client-python.git
git@gitee.com:mirrors_rancher/client-python.git
mirrors_rancher
client-python
client-python
master

搜索帮助