From aad952e60f98ac200a32facc6adf8212c8bdba3f Mon Sep 17 00:00:00 2001 From: ysicing Date: Wed, 5 Jun 2024 00:03:18 +0800 Subject: [PATCH] chore: update package name, URL, and long description content type - Change the package name from "codosdk" to "opssdk" - Change the URL in the setup to "https://github.com/ss1917/ops_sdk/" - Add "long_description_content_type" field with the value "text/markdown" Signed-off-by: ysicing --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 8536a4f..58f2659 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def get_data_files(): data_files = [ - ('share/doc/codo_sdk', ['README.md']) + ('share/doc/ops_sdk', ['README.md']) ] return data_files @@ -45,17 +45,18 @@ def get_install_requires(): ] setup( - name='codosdk', + name='opssdk', version=VERSION, description="CODO项目的Python SDK", packages=['opssdk', 'opssdk.utils', 'websdk2', 'websdk2.apis', 'websdk2.cloud', 'websdk2.utils'], - url='https://github.com/ss1917/codo_sdk/', + url='https://github.com/ss1917/ops_sdk/', license='GPLv3', keywords="ops,opencodo,devops", install_requires=get_install_requires(), author='shenshuo', author_email='191715030@qq.com', long_description='SDK of the operation and maintenance script logs operate', + long_description_content_type='text/markdown', include_package_data=True, data_files=get_data_files(), python_requires=">=3.6",