Commit Graph

148 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 02312054fb Split up setup.py and move packaging tools to new script 2023-07-26 19:28:34 +02:00
Veronica Berglyd Olsen 9f22c51c8a Add deprecation info to help output 2023-05-04 23:47:01 +02:00
Veronica Berglyd Olsen 023c0da879 Add deprecation warning about setup.py 2023-05-04 23:32:55 +02:00
Veronica Berglyd Olsen 8d4e555374 Fix a few help strings in setup 2023-05-03 22:34:53 +02:00
Veronica Berglyd Olsen 0ae42ef876 Simplify package names 2023-05-02 12:46:58 +02:00
Veronica Berglyd Olsen f1b764761c Fix error in docstring 2023-04-22 09:52:51 +02:00
Veronica Berglyd Olsen 59f0beeba6 Remove the bundled lupdate6 tool and use the PyQt6 package 2023-04-18 18:17:33 +02:00
Veronica Berglyd Olsen 0ab86913a7 Fix AppImage and MacOS builds 2023-02-12 23:32:11 +01:00
Veronica Berglyd Olsen 8448ec7b61 Add AppImage to build workflow 2023-02-12 23:27:15 +01:00
Veronica Berglyd Olsen 74ead29433 Move MacOS plist info back to a template file, and simplify stuff in setup.py 2023-02-04 19:33:04 +01:00
Rachel Powers af1233925e fix icns generation and bundle display name.
while the icns *can* be generated on linux it is much preferable to generate it on macos
it is checked in as a convience

this commit fixes the appbundle not displaying the icon corrected
and corrects the app being displayed as "python" in the top bar when the bundle is run

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-31 17:10:36 -07:00
Rachel Powers f912d55177 refactor: move plist gen into setup.py
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 22:09:32 -07:00
Veronica Berglyd Olsen a671878e26 Add build for Ubuntu 23.04 2023-01-08 19:26:37 +01:00
Veronica Berglyd Olsen 41a0788b4c Update copyright year to 2023 2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen bce5025a66 Update Chinese translation 2022-12-20 10:40:08 +01:00
Veronica Berglyd Olsen e0f7e50b64 Release 2.0.1 2022-11-29 16:28:19 +01:00
Veronica Berglyd Olsen aa963dea3d Add version and build info to AppImage build (#1182) 2022-10-30 17:55:38 +01:00
Veronica Berglyd Olsen 80496ab1ed Improve active/inactive icons again 2022-10-30 15:16:39 +01:00
Veronica Berglyd Olsen 90fbfc30ad Add Ubuntu 22.10 to setup builds 2022-09-14 13:33:09 +02:00
Veronica Berglyd Olsen 3a7ed1f2f3 Merge branch 'main' into patch_to_main 2022-08-18 22:53:46 +02:00
Veronica Berglyd Olsen d4878525ac Improve the package build pipeline 2022-08-18 22:38:32 +02:00
Veronica Berglyd Olsen 338d158bae Make some minor changes to the setup script 2022-07-15 16:39:12 +02:00
Rachel Powers 82a5da391f - ensure dist_appimage removed during cleanup
- cleanup
2022-07-08 18:53:01 -07:00
Rachel Powers 3dc4d1443f ensure prefix matching of build-appimage args do not shadow normal setup
move defaults to pyhton 3.10 and manylinux2010 for better compatability
cleanup
2022-07-08 18:40:54 -07:00
Rachel Powers 073a9acfb3 add a method to automate the building of an Appimage package 2022-07-08 15:26:03 -07:00
Veronica Berglyd Olsen ce4d3c0b5c Update linting settings, and drop Ubuntu 18.04 releases (#1014)
* Add E133 and W503 to ignored list for flake8
* Drop making releases for Ubuntu 18.04
2022-03-15 22:07:33 +01:00
Veronica Berglyd Olsen 67c94314ed Remove Ubuntu 21.04 release and add 22.04 (#987) 2022-02-06 23:47:37 +01:00
Veronica Berglyd Olsen 07c92b4bc3 Simplify windows setup builder a bit (#983)
* Optimise setup file
* Shorten windows setup file name
2022-02-04 23:58:01 +01:00
Veronica Berglyd Olsen a0cdf44deb Add a windows setup builder (#981)
* Add a package builder for windows install
* Remove old win installer build
* Update setup instructions
* Some minor clarifications to docs and README
2022-02-04 20:37:04 +01:00
Veronica Berglyd Olsen 8b603d15a5 Add back in i18n instructions and revert changes to class labels (#970)
* Revert the duplicate class name labels since there was no real need
* Restore i18n instructions
2022-01-19 08:35:59 +01:00
Veronica Berglyd Olsen 25038e6cbb Add support for external translation tools (#968)
* Make some minor translation fixes
* Remove crowdin file and add import function for crowdin zip file
* Rename fallback project lang file to en_GB
* Update all i18n files from crowdin exports
* Fix tests
* Update docs
2022-01-18 19:17:20 +01:00
Veronica Berglyd Olsen f06048384d Add a base language file (#965) 2022-01-18 16:40:35 +01:00
Veronica Berglyd Olsen af3d0d2eb0 Happy new year! (#941) 2021-12-31 15:56:43 +01:00
Veronica Berglyd Olsen e8bb130245 Code and GUI text cleanup (#926)
* Move int range checkers from options class to common file
* Improve error handling and reporting
* Make some minor improvements to init and test suite
* Fix 'trypewriter' to 'typewriter' typo
* Remove menu path description in dialog help text
* Improve the help text for entries in the Format menu
* Reword a couple of dialog messages
2021-11-07 18:17:17 +01:00
Veronica Berglyd Olsen f562937e81 Add pylupdate6 tool to i18n (#920)
* Add the pylupdate code from PyQt6 source
* Fix linting errors in pylupdate6
* Update setup script, add readme and update debian copyright file
2021-10-31 22:43:00 +01:00
Veronica Berglyd Olsen da2685131d Update how translation files are built and added (#915)
* Fix wrapping of setup help text
* Fix wrong info in help description in setup
* Drop .pro file and generate lupdate arguments on the fly
* Generate lrelease arguments on the fly
* Update i18n readme file
2021-10-24 16:01:26 +02:00
Veronica Berglyd Olsen 1386be23f4 Setup fixes post 1.5 release (#902)
* The main version must now always include the patch number
* Fix bug in pip build script
* Fix bug in debian sha256 function call
2021-09-19 13:43:20 +02:00
Veronica Berglyd Olsen 3263ce5669 Package building fixes (#887)
* Fix a couple of errors in make scripts
* Fix snapshot versioning for launchpad
2021-09-11 14:30:58 +02:00
Veronica Berglyd Olsen cbb527c464 Add a shasum function to setup and use it for all packages (#886) 2021-09-10 22:13:00 +02:00
Veronica Berglyd Olsen 50d0c1eb29 Add PPA support (#880)
* Clean up a few things in various setup function
* Add Launchpad-related setting to Debian build function
* Add signature feature to package builder and fix error in debian/copyright
* Update documentation
* Update README
2021-09-08 20:38:35 +02:00
Veronica Berglyd Olsen 2037ef3eac 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
2021-09-01 23:41:38 +02:00
Veronica Berglyd Olsen 0582b9718b Debian package builder (#876)
* Add debian build files
* Add debian package build code to setup script
* Update the licenses in debian/copyright
* Fix a typo in windows setup docs
* Remove duplicate files
* Add missing fallback icons to assets
2021-08-31 23:46:03 +02:00
Veronica Berglyd Olsen 4b52f343c1 Packaging Updates (#873)
* Make setup-generated script names lower case
* Change how the manual.pdf file is handled
2021-08-29 16:27:59 +02:00
Veronica Berglyd Olsen 3403d98c72 Rename package from 'nw' to 'novelwriter' (#868)
* Rename nw folder to novelwriter
* Rename nw to novelwriter in auxiliary files
* Rename nw to novelwriter in main app source
* Rename nw to novelwriter in tests
* Make setup script for pdf docs less spammy
2021-08-26 17:33:54 +02:00
Veronica Berglyd Olsen 95c79e1c23 Documentation and ODT exporter updates (#859)
* Clean up a few things in the ODT exporter
* Remove local HTML docs and instead add PDF docs
* Update documentation
2021-08-20 17:16:14 +02:00
Veronica Berglyd Olsen eee0f5e4c9 Include HTML docs in minimal installs (#856)
* Link to stable docs for stable release, otherwise latest docs
* Add build command to setup for making HTML docs
* Change the documentation menu entry to open either online or local HTML
* Update docs build instructions in docs
2021-08-18 00:13:28 +02:00
Veronica Berglyd Olsen 26912f226f Add double space before in-line comments 2021-06-25 21:36:52 +02:00
Veronica Berglyd Olsen 991a61f2f6 Remove encoding line and add spaces between classes and functions, tests 2021-06-25 21:04:48 +02:00
Veronica Berglyd Olsen 530d92cc3f Make the extractVersion function in setup a bit more robust 2021-06-10 22:08:26 +02:00
Veronica Berglyd Olsen 0bff4a3d21 Add entry in xdg-install to remove old desktop icon 2021-05-22 10:50:21 +02:00