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 d5d0221 commit 5bbd338
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions bricks/tpls/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# @Time : 2024-05-20 14:29
# @Author : Kem
# @Desc :
4 changes: 4 additions & 0 deletions bricks/tpls/spider/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# @Time : 2024-05-20 14:29
# @Author : Kem
# @Desc :
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,12 @@ def read_requirements(filename):
url='https://github.com/KKKKKKKEM/bricks.git',
long_description_content_type="text/markdown",
long_description=open('README.md', encoding='utf-8').read(),
version="0.0.21.beta6", # 包的版本
version="0.0.21.beta7", # 包的版本
description="quickly build your crawler", # 包简介,显示在PyPI上
author="Kem", # 作者相关信息
author_email='531144129@qq.com',
# 指定包信息,还可以用find_packages()函数
packages=[
*find_packages(),
"bricks",
"bricks/tpls",
"bricks/tpls/spider",
],
packages=find_packages(),
# 读取需要的数据文件
package_data={
'bricks': ['tpls/*']
Expand Down

0 comments on commit 5bbd338

Please sign in to comment.