Skip to content

Commit 7e2cbb3

Browse files
committed
加入构建脚本,并修复setup.py
1 parent 84fc852 commit 7e2cbb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@python -m build
2-
@python -m twine upload dist/*
2+
@python -m twine upload --skip-existing dist/*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
1414
author="SystemFileB",
15-
packages=setuptools.find_packages(where=".",include=['*']),
15+
packages=setuptools.find_namespace_packages(where=".",include=['mctoast.*']),
1616
package_data={
1717
'mctoast': ['*'], # 包含mctoast目录下的所有文件
1818
},

0 commit comments

Comments
 (0)