Commit 2cdacb3a authored by rgaudin's avatar rgaudin
Browse files

renamed main module from pibox-installer to kiwix-hotspot

parent 604e167e
......@@ -28,9 +28,9 @@ matrix:
- BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
- SCOMMIT=$(git rev-parse --short ${TRAVIS_COMMIT})
- if [ $PIBOX_RELEASE ]; then PIBOX_VERSION=${PIBOX_RELEASE:1}; elif [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then PIBOX_VERSION="nightly ($SCOMMIT)"; else PIBOX_VERSION="CI ($SCOMMIT)"; fi
- sed -i.bak "s/VERSION = \"devel\"/VERSION = \"${PIBOX_VERSION}\"/g" pibox-installer/data.py
- sed -i.bak "s/VERSION = \"devel\"/VERSION = \"${PIBOX_VERSION}\"/g" kiwix-hotspot/data.py
# Package pibox-installer
# Package kiwix-hotspot
- brew update
# checking our formulas out to how they were when python 3.6.5 was around
- cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
......@@ -100,7 +100,7 @@ matrix:
- BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
- SCOMMIT=$(git rev-parse --short ${TRAVIS_COMMIT})
- if [ $PIBOX_RELEASE ]; then PIBOX_VERSION=${PIBOX_RELEASE:1}; elif [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then PIBOX_VERSION="nightly ($SCOMMIT)"; else PIBOX_VERSION="CI ($SCOMMIT)"; fi
- sed -i.bak "s/VERSION = \"devel\"/VERSION = \"${PIBOX_VERSION}\"/g" pibox-installer/data.py
- sed -i.bak "s/VERSION = \"devel\"/VERSION = \"${PIBOX_VERSION}\"/g" kiwix-hotspot/data.py
# update XZ (trusty version -5.0.5 is too old)
- wget http://download.kiwix.org/dev/xz-5.2.4.tar.gz
......
......@@ -47,9 +47,9 @@ activate the environment
install pip dependencies: `pip3 install -r requirements-PLATFORM.txt`
(note: on linux you may need some distribution packges, see package kiwix-hotspot for more information)
run GUI application: `python3 pibox-installer`
run GUI application: `python3 kiwix-hotspot`
run CLI application: `python3 pibox-installer cli`
run CLI application: `python3 kiwix-hotspot cli`
## Build vexpress-boot
......
......@@ -36,7 +36,7 @@ install:
} Else {
$version="CI (" + $scommit + ")"
}
(Get-Content pibox-installer\data.py).replace('devel', $version) | Set-Content pibox-installer\data.py
(Get-Content kiwix-hotspot\data.py).replace('devel', $version) | Set-Content kiwix-hotspot\data.py
# decrypt certificates
- cmd: choco install openssl.light
......
......@@ -3,7 +3,7 @@
block_cipher = None
a = Analysis(['pibox-installer/__main__.py'],
a = Analysis(['kiwix-hotspot/__main__.py'],
pathex=['.'],
binaries=[('qemu-system-arm', '.'), ('qemu-img', '.')],
datas=[('ui.glade', '.'),
......
......@@ -2,7 +2,7 @@
import os
import sys
import subprocess
sys.path += [os.path.join(os.getcwd(), 'pibox-installer')]
sys.path += [os.path.join(os.getcwd(), 'kiwix-hotspot')]
from version import get_version_str, get_short_version_str
output = subprocess.check_output(["ls", "qemu"])
......@@ -10,7 +10,7 @@ files = output.decode('utf-8').splitlines()
block_cipher = None
a = Analysis(['pibox-installer/__main__.py'],
a = Analysis(['kiwix-hotspot/__main__.py'],
pathex=['.'],
binaries=[("qemu/" + file, '.') for file in files],
datas=[('ui.glade', '.'),
......
......@@ -3,7 +3,7 @@
import os
import sys
import site
sys.path += [os.path.join(os.getcwd(), 'pibox-installer')]
sys.path += [os.path.join(os.getcwd(), 'kiwix-hotspot')]
from version import get_version_str, get_short_version_str
# update version number for exe metadata
......@@ -17,7 +17,7 @@ with open(rsc, 'w') as f:
block_cipher = None
typelib_path = os.path.join(site.getsitepackages()[1], 'gnome', 'lib', 'girepository-1.0')
a = Analysis(['pibox-installer/__main__.py'],
a = Analysis(['kiwix-hotspot/__main__.py'],
pathex=['.'],
binaries=[(os.path.join(typelib_path, tl), 'gi_typelibs') for tl in os.listdir(typelib_path)],
datas=[('ui.glade', '.'),
......
......@@ -3,7 +3,7 @@
import os
import sys
import site
sys.path += [os.path.join(os.getcwd(), 'pibox-installer')]
sys.path += [os.path.join(os.getcwd(), 'kiwix-hotspot')]
from version import get_version_str, get_short_version_str
# update version number for exe metadata
......@@ -17,7 +17,7 @@ with open(rsc, 'w') as f:
block_cipher = None
typelib_path = os.path.join(site.getsitepackages()[1], 'gnome', 'lib', 'girepository-1.0')
a = Analysis(['pibox-installer/__main__.py'],
a = Analysis(['kiwix-hotspot/__main__.py'],
pathex=['.'],
binaries=[(os.path.join(typelib_path, tl), 'gi_typelibs') for tl in os.listdir(typelib_path)],
datas=[('ui.glade', '.'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment