Browse Source

perf: 修改依赖写法,避免 github 认错

pull/7976/head^2
ibuler 3 years ago committed by Jiangjie.Bai
parent
commit
9e284f96e5
  1. 1
      requirements/alpine_requirements.txt
  2. 2
      requirements/apk_pkg.sh
  3. 5
      requirements/deb_pkg.sh
  4. 1
      requirements/deb_requirements.txt
  5. 8
      requirements/mac_pkg.sh
  6. 7
      requirements/mac_requirements.sh
  7. 2
      requirements/requirements.txt
  8. 2
      requirements/rpm_pkg.sh
  9. 1
      requirements/rpm_requirements.txt

1
requirements/alpine_requirements.txt

@ -1 +0,0 @@
gcc make python3-dev python3 libffi-dev mariadb-dev libc-dev krb5-dev openldap-dev jpeg-dev linux-headers sshpass openssh-client build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec

2
requirements/apk_pkg.sh

@ -0,0 +1,2 @@
#!/bin/sh
apk add gcc make python3-dev python3 libffi-dev mariadb-dev libc-dev krb5-dev openldap-dev jpeg-dev linux-headers sshpass openssh-client build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec

5
requirements/deb_pkg.sh

@ -0,0 +1,5 @@
#!/bin/bash
apt install \
g++ make iputils-ping default-libmysqlclient-dev libpq-dev libffi-dev \
libldap2-dev libsasl2-dev sshpass pkg-config libxml2-dev libxmlsec1-dev \
libxmlsec1-openssl libaio-dev freetds-dev

1
requirements/deb_requirements.txt

@ -1 +0,0 @@
g++ make iputils-ping default-libmysqlclient-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev sshpass pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev freetds-dev

8
requirements/lfs_requirements.sh → requirements/mac_pkg.sh

@ -1,9 +1,13 @@
#!/bin/bash
#
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
PROJECT_DIR=$(dirname "$BASE_DIR")
echo "1. 安装依赖"
brew install libtiff libjpeg webp little-cms2 openssl gettext git git-lfs mysql libxml2 libxmlsec1 pkg-config
echo "下载 IP 数据库"
echo "2. 下载 IP 数据库"
ip_db_path="${PROJECT_DIR}/apps/common/utils/geoip/GeoLite2-City.mmdb"
wget "https://download.jumpserver.org/files/GeoLite2-City.mmdb" -O "${ip_db_path}"
echo "3. 安装依赖的插件"
git lfs install

7
requirements/mac_requirements.sh

@ -1,7 +0,0 @@
#!/bin/bash
echo "安装依赖"
brew install libtiff libjpeg webp little-cms2 openssl gettext git git-lfs mysql libxml2 libxmlsec1 pkg-config
echo "安装依赖的插件"
git lfs install

2
requirements/requirements.txt

@ -49,7 +49,7 @@ olefile==0.44
openapi-codec==1.3.2
paramiko==2.7.2
passlib==1.7.1
Pillow==9.0.0
Pillow==9.0.1
pyasn1==0.4.8
pycparser==2.19
pycryptodome==3.12.0

2
requirements/rpm_pkg.sh

@ -0,0 +1,2 @@
#!/bin/bash
yum -y install gcc-c++ sshpass mariadb-devel openldap-devel libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel

1
requirements/rpm_requirements.txt

@ -1 +0,0 @@
gcc-c++ sshpass mariadb-devel openldap-devel libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel
Loading…
Cancel
Save