- 添加 requirements.txt 用于 pip 依赖管理 - 添加 setup.py 用于包安装 - 添加 QUICKSTART.md 快速开始指南 - 添加 check_environment.py 环境检查脚本 - 更新 README.md 添加详细的安装步骤 - 更新 .gitignore 忽略模型和数据文件
26 lines
622 B
Python
26 lines
622 B
Python
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name="creditcard-fraud-detection",
|
|
version="0.1.0",
|
|
description="信用卡欺诈检测系统",
|
|
packages=find_packages(),
|
|
python_requires=">=3.10",
|
|
install_requires=[
|
|
"numpy>=1.24.0",
|
|
"polars>=0.19.0",
|
|
"scikit-learn>=1.3.0",
|
|
"imbalanced-learn>=0.11.0",
|
|
"matplotlib>=3.7.0",
|
|
"seaborn>=0.12.0",
|
|
"joblib>=1.3.0",
|
|
"pydantic>=2.0.0",
|
|
"streamlit>=1.28.0",
|
|
],
|
|
entry_points={
|
|
"console_scripts": [
|
|
"train=src.train:train_and_evaluate",
|
|
],
|
|
},
|
|
)
|