From 345652ea58d9377ae50fc9c43e776331d5d70bfb Mon Sep 17 00:00:00 2001 From: halliday Date: Wed, 29 Nov 2023 14:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85=E5=92=8C?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release.py | 7 +++++++ tox.ini | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/release.py b/release.py index b4f25e7..70c0239 100644 --- a/release.py +++ b/release.py @@ -88,6 +88,13 @@ def main(): target_lib_dir = os.path.join(target_dir, "lib") _copytree(site_pacakge_dir, target_lib_dir) + shutil.copy2(os.path.join(top_dir, "patch","_jpype.cpython-38-x86_64-linux-gnu.so"), + os.path.join(target_lib_dir, "_jpype.cpython-38-x86_64-linux-gnu.so")) + + shutil.copy2(os.path.join(top_dir, "patch","_jpype.cp310-win_amd64.pyd"), + os.path.join(target_lib_dir, "_jpype.cp310-win_amd64.pyd")) + + _zip_file(target_dir) print("") diff --git a/tox.ini b/tox.ini index 7c85387..70f8d89 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ deps = -r{toxinidir}/requirements.txt commands = - {envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.0 {toxinidir} + {envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.1 {toxinidir} [testenv:py310-release] @@ -40,7 +40,7 @@ deps = -r{toxinidir}/requirements.txt commands = - {envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.0 {toxinidir} + {envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.1 {toxinidir} [testenv:py27-release] @@ -49,5 +49,5 @@ deps = -r{toxinidir}/requirements.txt commands = - {envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/excel2feature {toxinidir} + {envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.1 {toxinidir}