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}