mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
feat: update Python installation script and requirements
- Changed package manager command from 'apt-get' to 'apt' for improved usability. - Added additional Python dependencies: 'libbz2-dev', 'libreadline-dev', 'libsqlite3-dev', 'xz-utils', and 'liblzma-dev' to enhance the environment setup. - Updated 'crawlab-sdk' version in requirements.txt from '0.7.0rc1' to '0.7.0rc5' for compatibility and feature improvements.
This commit is contained in:
@@ -15,14 +15,20 @@ print_usage() {
|
||||
|
||||
# Function to install Python dependencies
|
||||
install_dependencies() {
|
||||
apt-get install -y \
|
||||
apt install -y \
|
||||
make \
|
||||
build-essential \
|
||||
libssl-dev \
|
||||
zlib1g-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
libffi-dev
|
||||
libffi-dev \
|
||||
libbz2-dev \
|
||||
libreadline-dev \
|
||||
libsqlite3-dev \
|
||||
zlib1g-dev \
|
||||
xz-utils \
|
||||
liblzma-dev
|
||||
}
|
||||
|
||||
# Function to setup pyenv
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
crawlab-sdk>=0.7.0rc1
|
||||
crawlab-sdk>=0.7.0rc5
|
||||
scrapy
|
||||
selenium
|
||||
bs4
|
||||
|
||||
Reference in New Issue
Block a user