Moving scripts to their own dedicated directory.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
5bad125c44
commit
faae76fbbd
9 changed files with 16 additions and 4 deletions
|
@ -22,16 +22,18 @@ In order to test translations, you can use the `--lang=<lang code>` command line
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
### Generate installers:
|
### Generate installers:
|
||||||
You can generate installers from AccountFree after installing all the dependencies:
|
All scripts noted here can be found in the `scripts` directory.
|
||||||
|
|
||||||
|
You can generate installers from LogarithmPlotter after installing all the dependencies:
|
||||||
For all builds, you need [Python 3](https://python.org) with [PySide2](https://pypi.org/project/PySide2/) installable with `pip install PySide2`.
|
For all builds, you need [Python 3](https://python.org) with [PySide2](https://pypi.org/project/PySide2/) installable with `pip install PySide2`.
|
||||||
- Windows installer:
|
- Windows installer:
|
||||||
- You need `pyinstaller`. You can install it using `pip install pyinstaller`.
|
- You need `pyinstaller`. You can install it using `pip install pyinstaller`.
|
||||||
- Run the `build-windows.bat` script (or `build-wine.sh` if you're cross-compiling with wine on Linux) to build an exe for LogarithmPlotter.
|
- Run the `build-windows.bat` script (or `build-wine.sh` if you're cross-compiling with wine on Linux) to build an exe for LogarithmPlotter.
|
||||||
- You also need [NSIS](https://nsis.sourceforge.io/Main_Page) (Linux users can install the [nsis](https://pkgs.org/download/nsis) package).
|
- You also need [NSIS](https://nsis.sourceforge.io/Main_Page) (Linux users can install the [nsis](https://pkgs.org/download/nsis) package).
|
||||||
- Run the `package-windows.bat` script (or `package.wine.sh`if you're cross-compiling on Linux). You will find a logarithmplotter-setup.exe installer in the dist/accountfree/ folder.
|
- Run the `package-windows.bat` script (or `package-wine.sh`if you're cross-compiling on Linux). You will find a logarithmplotter-setup.exe installer in the dist/accountfree/ folder.
|
||||||
- MacOS Archive creator installer:
|
- MacOS Archive creator installer:
|
||||||
- You need `pyinstaller`. You can install it using `pip install pyinstaller`.
|
- You need `pyinstaller`. You can install it using `pip install pyinstaller`.
|
||||||
- Run the `build-macosx.sh` script to build an .app for AccountFree which can be found in the dist directory.
|
- Run the `build-macosx.sh` script to build an .app for LogarithmPlotter which can be found in the dist directory.
|
||||||
- Run the `package-macosx.sh` script. You will find a LogarithmPlotter-v0.1-dev-setup.dmg installer in the dist/ folder.
|
- Run the `package-macosx.sh` script. You will find a LogarithmPlotter-v0.1-dev-setup.dmg installer in the dist/ folder.
|
||||||
- Linux packages:
|
- Linux packages:
|
||||||
- To build a DEB, you need DPKG and stdeb. You can install the later by using `pip install stdeb`.
|
- To build a DEB, you need DPKG and stdeb. You can install the later by using `pip install stdeb`.
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||||
|
|
||||||
|
|
||||||
rm $(find . -name "*.qmlc")
|
rm $(find . -name "*.qmlc")
|
||||||
rm $(find . -name "*.pyc")
|
rm $(find . -name "*.pyc")
|
||||||
python3 -m pip install -U pyinstaller
|
python3 -m pip install -U pyinstaller
|
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||||
|
|
||||||
# Giving pyinstaller another run
|
# Giving pyinstaller another run
|
||||||
rm $(find . -name "*.qmlc")
|
rm $(find . -name "*.qmlc")
|
||||||
rm -rf $(find . -name "*.pyc")
|
rm -rf $(find . -name "*.pyc")
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||||
|
|
||||||
# Building translations
|
# Building translations
|
||||||
cd "LogarithmPlotter/i18n/"
|
cd "LogarithmPlotter/i18n/"
|
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||||
|
|
||||||
VERSION=0.1.6
|
VERSION=0.1.6
|
||||||
title="LogarithmPlotter v${VERSION} Setup"
|
title="LogarithmPlotter v${VERSION} Setup"
|
||||||
finalDMGName="LogarithmPlotter-v${VERSION}-setup.dmg"
|
finalDMGName="LogarithmPlotter-v${VERSION}-setup.dmg"
|
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||||
|
|
||||||
# Moving files
|
# Moving files
|
||||||
cp win/* README.md LICENSE.md dist/logarithmplotter/
|
cp win/* README.md LICENSE.md dist/logarithmplotter/
|
||||||
# Creating installer
|
# Creating installer
|
Loading…
Reference in a new issue