pyproject.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [build-system]
  2. requires = ["setuptools>=61.0", "wheel"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "dataops-platform"
  6. version = "1.0.0"
  7. description = "DataOps Platform - 数据运营平台"
  8. authors = [
  9. {name = "DataOps Team", email = "team@dataops.com"}
  10. ]
  11. readme = "README.md"
  12. requires-python = ">=3.8"
  13. classifiers = [
  14. "Development Status :: 4 - Beta",
  15. "Intended Audience :: Developers",
  16. "License :: OSI Approved :: MIT License",
  17. "Programming Language :: Python :: 3",
  18. "Programming Language :: Python :: 3.8",
  19. "Programming Language :: Python :: 3.9",
  20. "Programming Language :: Python :: 3.10",
  21. "Programming Language :: Python :: 3.11",
  22. "Programming Language :: Python :: 3.12",
  23. ]
  24. dependencies = [
  25. "Flask>=2.3.0",
  26. "Flask-SQLAlchemy>=3.1.0",
  27. "Flask-CORS>=4.0.0",
  28. "SQLAlchemy>=2.0.0",
  29. "psycopg2-binary>=2.9.0",
  30. "python-dotenv>=1.0.0",
  31. "requests>=2.31.0",
  32. "pandas>=2.1.0",
  33. "numpy>=1.25.0",
  34. ]
  35. [project.optional-dependencies]
  36. dev = [
  37. "pytest>=7.4.0",
  38. "black>=23.11.0",
  39. "flake8>=6.1.0",
  40. "mypy>=1.7.0",
  41. ]
  42. [tool.setuptools.packages.find]
  43. where = ["."]
  44. include = ["app*"]
  45. [tool.black]
  46. line-length = 88
  47. target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
  48. [tool.pytest.ini_options]
  49. testpaths = ["tests"]
  50. python_files = ["test_*.py", "*_test.py"]
  51. python_classes = ["Test*"]
  52. python_functions = ["test_*"]
  53. [tool.mypy]
  54. python_version = "3.8"
  55. warn_return_any = true
  56. warn_unused_configs = true
  57. disallow_untyped_defs = true