Skip to content

Commit

Permalink
添加 include_package_data
Browse files Browse the repository at this point in the history
  • Loading branch information
kem wan committed May 20, 2024
1 parent 5bbd338 commit 5042eb3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ def read_requirements(filename):
author="Kem", # 作者相关信息
author_email='531144129@qq.com',
# 指定包信息,还可以用find_packages()函数
packages=find_packages(),
packages=[
*find_packages(),
"bricks",
"bricks/tpls",
"bricks/tpls/spider",
],
# 读取需要的数据文件
package_data={
'bricks': ['tpls/*']
Expand Down

0 comments on commit 5042eb3

Please sign in to comment.