修改打包和版

This commit is contained in:
halliday 2023-11-29 14:16:23 +08:00
parent 6c19cdedae
commit 345652ea58
2 changed files with 10 additions and 3 deletions

View File

@ -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("")

View File

@ -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}