修改打包和版
This commit is contained in:
parent
6c19cdedae
commit
345652ea58
|
@ -88,6 +88,13 @@ def main():
|
||||||
target_lib_dir = os.path.join(target_dir, "lib")
|
target_lib_dir = os.path.join(target_dir, "lib")
|
||||||
_copytree(site_pacakge_dir, target_lib_dir)
|
_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)
|
_zip_file(target_dir)
|
||||||
|
|
||||||
print("")
|
print("")
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -31,7 +31,7 @@ deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
||||||
commands =
|
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]
|
[testenv:py310-release]
|
||||||
|
@ -40,7 +40,7 @@ deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
||||||
commands =
|
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]
|
[testenv:py27-release]
|
||||||
|
@ -49,5 +49,5 @@ deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/excel2feature {toxinidir}
|
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.1 {toxinidir}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue