#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ DataOps Platform Setup """ from setuptools import setup, find_packages # 读取README文件 with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() # 读取requirements.txt with open("requirements.txt", "r", encoding="utf-8") as fh: requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")] setup( name="dataops-platform", version="1.0.0", author="DataOps Team", author_email="team@dataops.com", description="DataOps Platform - 数据运营平台", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/dataops/dataops-platform", packages=find_packages(), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "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.8", install_requires=requirements, extras_require={ "dev": [ "pytest>=7.4.0", "black>=23.11.0", "flake8>=6.1.0", "mypy>=1.7.0", ], }, entry_points={ "console_scripts": [ "dataops=application:main", ], }, include_package_data=True, zip_safe=False, )