55 lines
1.8 KiB
Python
55 lines
1.8 KiB
Python
"""
|
|
CookieCloud客户端安装脚本
|
|
"""
|
|
from setuptools import setup, find_packages
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name="cookiecloud-client",
|
|
version="1.0.0",
|
|
author="CookieManager Team",
|
|
author_email="support@example.com",
|
|
description="一个独立的、可复用的CookieCloud服务器客户端",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/example/cookiecloud-client",
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
],
|
|
python_requires=">=3.7",
|
|
install_requires=[
|
|
# 无外部依赖,仅使用Python标准库
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=6.0",
|
|
"pytest-cov>=2.0",
|
|
"black>=21.0",
|
|
"flake8>=3.9",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cookiecloud-client=cookiecloud_client.cli:main",
|
|
],
|
|
},
|
|
project_urls={
|
|
"Bug Reports": "https://github.com/example/cookiecloud-client/issues",
|
|
"Source": "https://github.com/example/cookiecloud-client",
|
|
"Documentation": "https://github.com/example/cookiecloud-client#readme",
|
|
},
|
|
)
|