修复pyinstaller打包问题,发布0.1.5版本

This commit is contained in:
evilbeast 2022-08-30 12:42:49 +08:00
parent 1e7d0350d5
commit a95b6ad2dc
5 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -24,6 +24,7 @@ main.spec
build/
config.ini
ntchat/wc/*.pyd
ntchat/wc/*.dat
wheelhouse/
setup_conf.py
upload.bat

View File

@ -1,6 +1,6 @@
<h1 align="center">NtChat</h1>
<p align="center">
<a href="https://github.com/smallevilbeast/ntchat/releases"><img src="https://img.shields.io/badge/release-0.1.4-blue.svg?" alt="release"></a>
<a href="https://github.com/smallevilbeast/ntchat/releases"><img src="https://img.shields.io/badge/release-0.1.5-blue.svg?" alt="release"></a>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-brightgreen.svg?" alt="License"></a>
</p>

View File

@ -1,4 +1,4 @@
VERSION = '0.1.4'
VERSION = '0.1.5'
LOG_LEVEL = "DEBUG"
LOG_KEY = 'NTCHAT_LOG'

View File

@ -23,7 +23,7 @@ def get_wc_dir():
def get_helper_file(version):
return os.path.join(get_wc_dir(), f"helper_{version}.pyd")
return os.path.join(get_wc_dir(), f"helper_{version}.dat")
def get_support_download_url():

View File

@ -194,7 +194,7 @@ extension.extra_compile_cpp_args = extra_compile_cpp_args[target_os]
setup(
name='ntchat',
version='0.1.4',
version='0.1.5',
description='About Conversational RPA SDK for Chatbot Makers',
long_description="",
long_description_content_type='text/markdown',
@ -211,7 +211,7 @@ setup(
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
package_data={"": ["py.typed", "*.pyi", "helper*.pyd"]},
package_data={"": ["py.typed", "*.pyi", "helper*.dat"]},
include_package_data=False,
packages=find_packages(include=['ntchat', 'ntchat.*']),
keywords='wechat ntchat pywechat rebot',