build Linux executable in its own virtualenv
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
## Unreleased
|
||||
|
||||
## 1.20.5 - 2022-02-14
|
||||
### Additions
|
||||
- [furaffinity] add `layout` option ([#2277](https://github.com/mikf/gallery-dl/issues/2277))
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
__version__ = "1.20.5"
|
||||
__version__ = "1.20.6-dev"
|
||||
|
||||
@@ -54,7 +54,14 @@ build-linux() {
|
||||
cd "${ROOTDIR}"
|
||||
echo Building Linux executable
|
||||
|
||||
make executable
|
||||
VENV_PATH="/tmp/venv"
|
||||
VENV_PYTHON="${VENV_PATH}/bin/python"
|
||||
|
||||
rm -r "${VENV_PATH}"
|
||||
virtualenv "${VENV_PATH}"
|
||||
|
||||
$VENV_PYTHON -m pip install requests requests[socks] yt-dlp pyinstaller
|
||||
$VENV_PYTHON ./scripts/pyinstaller.py
|
||||
}
|
||||
|
||||
build-windows() {
|
||||
|
||||
Reference in New Issue
Block a user