mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-28 03:20:41 +00:00
Remove some python libraries check in setup scripts.
This commit is contained in:
parent
8ed31a188b
commit
d20e4857e8
@ -70,11 +70,6 @@ function check_python () {
|
||||
if [[ $PYTHON == "python2.6" ]]; then
|
||||
py26="2.6"
|
||||
fi
|
||||
hint="\nOn Debian/Ubntu: apt-get install python-setuptools\nOn CentOS/RHEL: yum install python${py26}-distribute"
|
||||
check_python_module pkg_resources setuptools "${hint}"
|
||||
|
||||
hint="\nOn Debian/Ubntu: apt-get install python-imaging\nOn CentOS/RHEL: yum install python${py26}-imaging"
|
||||
check_python_module PIL python-imaging "${hint}"
|
||||
|
||||
hint='\nOn Debian/Ubuntu:\n\nsudo apt-get install python-mysqldb\n\nOn CentOS/RHEL:\n\nsudo yum install MySQL-python'
|
||||
check_python_module MySQLdb python-mysqldb "${hint}"
|
||||
|
@ -145,10 +145,6 @@ function check_python () {
|
||||
if [[ $PYTHON == "python2.6" ]]; then
|
||||
py26="2.6"
|
||||
fi
|
||||
hint="\nOn Debian/Ubntu: apt-get install python-setuptools\nOn CentOS/RHEL: yum install python${py26}-distribute"
|
||||
check_python_module pkg_resources setuptools "${hint}"
|
||||
hint="\nOn Debian/Ubntu: apt-get install python-imaging\nOn CentOS/RHEL: yum install python${py26}-imaging"
|
||||
check_python_module PIL python-imaging "${hint}"
|
||||
check_python_module sqlite3 python-sqlite3
|
||||
fi
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user