feat: 打包以及添加数据集
This commit is contained in:
67
pyproject.toml
Normal file
67
pyproject.toml
Normal file
@@ -0,0 +1,67 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "ovf"
|
||||
version = "0.1.5"
|
||||
description = "A package for orthonormal basis and rational function fitting"
|
||||
authors = [
|
||||
{name = "M4yGem1ni", email = "M4yGem1ni@outlook.com"}
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"matplotlib",
|
||||
"requests",
|
||||
"pandas",
|
||||
"numpy",
|
||||
"pydantic",
|
||||
"sympy",
|
||||
"scikit-rf",
|
||||
"setuptools"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/M4yGem1ni/your-repo"
|
||||
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py312']
|
||||
include = '\.pyi?$'
|
||||
extend-exclude = '''
|
||||
/(
|
||||
# directories
|
||||
\.eggs
|
||||
| \.git
|
||||
| \.hg
|
||||
| \.mypy_cache
|
||||
| \.tox
|
||||
| \.venv
|
||||
| build
|
||||
| dist
|
||||
)/
|
||||
'''
|
||||
|
||||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["ovf*"]
|
||||
|
||||
# [tool.setuptools.package-data]
|
||||
# 包含 json 数据文件、md 文档等到最终包中
|
||||
# "ovf.examples.data" = ["datasets/**/*"]
|
||||
# "docs" = ["*.md"]
|
||||
|
||||
# 如果 test 不是包的一部分可以不用包含
|
||||
# "test" = ["*.py"]
|
||||
Reference in New Issue
Block a user