Setup fixes and tweaks (#879)

* Fix transparency on some of the icons
* Rewrite the setup clean command
* Clean up setup script and remove no longer needed qthelp command
* Add bash scripts for common make build chains
* Update the description files and change how setup writes generated files
* Reduce the number of setup files added to minimal zip packages
This commit is contained in:
Veronica Berglyd Olsen
2021-09-01 23:41:38 +02:00
committed by GitHub
parent 0582b9718b
commit 2037ef3eac
23 changed files with 193 additions and 225 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 B

After

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

@@ -1,4 +1,4 @@
<img src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/novelwriter.png">
<img src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/novelwriter_text.png">
novelWriter is a plain text editor designed for writing novels assembled from many smaller text
documents. It uses a minimal formatting syntax inspired by Markdown, and adds a meta data syntax
+6
View File
@@ -0,0 +1,6 @@
novelWriter is a plain text editor designed for writing novels assembled from
many smaller text documents. It uses a minimal formatting syntax inspired by
Markdown, and adds a meta data syntax for comments, synopsis, and
cross-referencing. It's designed to be a simple text editor that allows for
easy organisation of text and notes, using human readable text files as
storage for robustness.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
set -e
if [ ! -f setup.py ]; then
echo "Must be called from the root folder of the source"
exit 1
fi
python3 setup.py clean
+27
View File
@@ -0,0 +1,27 @@
#!/bin/bash
set -e
if [ ! -f setup.py ]; then
echo "Must be called from the root folder of the source"
exit 1
fi
echo ""
echo " Building Packages"
echo "================================================================================"
echo ""
python3 setup.py sdist bdist_wheel
echo ""
echo " Checking Packages"
echo "================================================================================"
echo ""
twine check dist/*
echo ""
echo " Done!"
echo "================================================================================"
echo ""
echo " To upload packages to PyPi, run:"
echo " twine upload Source/dist/*"
echo ""
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
set -e
if [ ! -f setup.py ]; then
echo "Must be called from the root folder of the source"
exit 1
fi
echo ""
echo " Building Minimal Packages"
echo "================================================================================"
echo ""
python3 setup.py minimal-zip --target-win
python3 setup.py minimal-zip --target-linux
python3 setup.py minimal-zip --target-darwin
echo ""
echo " Building Linux Packages"
echo "================================================================================"
echo ""
python3 setup.py build-deb
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB