修改python安装参数

This commit is contained in:
dinglili 2024-09-12 16:54:37 +08:00
parent 9fe802f04f
commit 948df46a93
4 changed files with 18 additions and 13 deletions

View File

@ -1,5 +1,5 @@
{ {
"version":"0.0.5", "version":"0.0.6",
"kylin-ide-lowest-ver":"0.4.0", "kylin-ide-lowest-ver":"0.4.0",
"first_class_list":{ "first_class_list":{
"description":{ "description":{
@ -98,10 +98,10 @@
{ {
"order":1, "order":1,
"postin":"python3-pip" , "postin":"python3-pip" ,
"file_url":"base-url:/python3_config-0.0.2.sh", "file_url":"base-url:/python3_config-0.0.3.sh",
"file_name": "python3_config-0.0.2.sh", "file_name": "python3_config-0.0.3.sh",
"ver": "0.0.2", "ver": "0.0.3",
"sign-md5": "9fc9562c5e5854f659621bad40df913cbde53073c14e164100b78551b7f6012f3860491ea2046a67c3a26d37127b413e4ac5f2263632c9d10679925ed7c4020da4599d61603f5418e3cde785c5002b4651d366d87e3fe89c84b93d3f37976fa7bf8736ea136016aeb5f1be782e19439b8010b5d5e4a52a3b1084931d668de765" "sign-md5": "b02c6b8371bd01efccce1bef29b1c354666f8c0aabc4d1f3751723b0b7d938feffdfd172a9301f8473237310644f723da7a48a40f48496f506b42f6874885d23a448c44800b1d0495e0b269fb920c894ec8e03b3d5b2315269da1e1408668e280547aa56f1570f27b111eb6f79ca1ac60ededfc3e7a8d7119f23ccef8026e8f1"
} }
] ]
}, },

View File

@ -1,5 +1,5 @@
{ {
"ver": "0.0.5", "ver": "0.0.6",
"base-url":"https://gitee.com/openkylin/extensions-repo/raw/master/inst-configs-repo/kylin-code/0.4.0", "base-url":"https://gitee.com/openkylin/extensions-repo/raw/master/inst-configs-repo/kylin-code/0.4.0",
"ext-file": { "ext-file": {
"file_url": "base-url:/ext_link_address-0.0.2.json", "file_url": "base-url:/ext_link_address-0.0.2.json",
@ -21,11 +21,11 @@
"en": "X86 openKylin Desktop", "en": "X86 openKylin Desktop",
"zh_cn": "X86 openKylin开源操作系统" "zh_cn": "X86 openKylin开源操作系统"
}, },
"file_url": "base-url:/desktop_os_common-0.0.5.json", "file_url": "base-url:/desktop_os_common-0.0.6.json",
"file_name": "desktop_os_common-0.0.5.json", "file_name": "desktop_os_common-0.0.6.json",
"ver": "0.0.5", "ver": "0.0.6",
"kylin-ide-lowest-ver": "0.4.0", "kylin-ide-lowest-ver": "0.4.0",
"sign-md5":"8ea8f5713efea7e51e9d98c056957ed23427c7d6d63a64bafcea06b4ae0416a7620cb3d5b20f4e2e97d0ca94abe03cfe5018495422d868853c9b6ec8cd79e6abd39835699dc492c5bd4654e204207000101bfe878fcf5f2e09cf2001fd0d9032d3959ddbaca87aa48522e387825cabfec653947c3aa75b54a91b0563f0f71f50" "sign-md5":"1df97e5cd99a9c0bfc09103293eb9ec7d6ccab90b0c9352b9e02b01bf825e17e5277f966ee63fb97ad59c67d8dfe7214e6f3e3a50ce2dc894a11d01b94a636391380d166f3ec5fb1344e74873f2ad151dc2059cd9057d2ec34d5fd555dff88757824e02dec1b0c309b974f1dc975ed8edec8e7331d22aecc6443a024bc083565"
} }
] ]
} }

View File

@ -1,3 +0,0 @@
#!/bin/bash
echo "exec \"pip3 install pylint -i https://pypi.tuna.tsinghua.edu.cn/simple\""
pip3 install pylint --break-system-packages -i https://pypi.tuna.tsinghua.edu.cn/simple

View File

@ -0,0 +1,8 @@
#!/bin/bash
echo "exec \"pip3 install pylint -i https://pypi.tuna.tsinghua.edu.cn/simple\""
pip3 install --help | grep -q break-system-packages
if [ $? -eq 0 ]; then
pip3 install pylint --break-system-packages -i https://pypi.tuna.tsinghua.edu.cn/simple
else
pip3 install pylint -i https://pypi.tuna.tsinghua.edu.cn/simple
fi