Commit 55e4b081 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

add package_data in setup.py

parent d03c9b7d
Pipeline #1463 passed with stage
in 0 seconds
......@@ -23,7 +23,7 @@ setuptools.setup(
long_description=long_description, # 长描述
long_description_content_type="text/markdown", # 长描述类型
url="https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto", # 主页
packages=setuptools.find_packages(), # 用setuptools工具自动发现带有__init__.py的包
packages=setuptools.find_packages(where="."), # 用setuptools工具自动发现带有__init__.py的包
license="MIT", # 证书类型
classifiers=[ # 程序分类, 参考 https://pypi.org/classifiers/
# How mature is this project?
......@@ -34,11 +34,14 @@ setuptools.setup(
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy",
],
include_package_data=True, # 包含所有随包数据
package_data={
"csst_proto": ["data/*"],
},
# 请注意检查,防止临时文件或其他不必要的文件被提交到仓库,否则会一同安装
python_requires=">=3.11", # Python版本要求
install_requires=requirements,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment