Philipp Wolfer
edbc07f502
PICARD-2746: Localize XDG desktop file
...
Share the translation resource for AppStream and desktop file. Both
provide metadata and the translations are only used during build
and never actually installed separately.
2023-09-06 08:29:05 +02:00
Philipp Wolfer
75def55b59
Swap path / domain in locale dict in setup.py
2023-08-24 17:36:42 +02:00
Philipp Wolfer
83f6b6fc93
PICARD-2690: Move picard/const translations into separate message domain
...
This most prominently moves translations of dropdown lists for locales
and writing systems into a separate component, making it easier to
translate the main UI texts.
2023-08-24 17:36:42 +02:00
Philipp Wolfer
c55f295079
PICARD-2652: Update setup.py for Weblate
...
- update_constants pulls from Weblate
- pull_translations got removed (no longer needed)
- Transifex configutation removed
2023-08-22 17:52:55 +02:00
Philipp Wolfer
ecafcbe79d
Update calculation of patch versions for Windows store
...
For Windows store we combine the patch version with the build number to
ensure continuously growing version numbers for upgrades.
Reduce the version numbers to be multiplied to 1000 to allow for two
digit patch version numbers.
2023-06-07 08:58:16 +02:00
Philipp Wolfer
69a982db74
Update to use transifex-client 1.x
2023-04-28 11:32:07 +02:00
Philipp Wolfer
c90c6c7efd
Refactor log string substitution
...
Rely on the string substitutions of the logging module to avoid
unnecessary substitutions if log output never gets written
2023-04-28 09:57:04 +02:00
Philipp Wolfer
3f66528d40
Set Python 3.11 as supported version in PyPI metadata
2022-11-29 19:00:48 +01:00
Philipp Wolfer
2aed029efd
Make setup.py compatible with setuptools<62.4.0 again
2022-11-09 07:59:52 +01:00
Philipp Wolfer
e506c75970
PICARD-2582: Get rid of legacy distutils imports in setup.py
2022-10-27 21:27:08 +02:00
Philipp Wolfer
4aff0310ca
PICARD-2331: Python 3.7 is now the minimum supported version
...
PyQt6 is not available for older Python versions
2022-10-10 12:08:10 +02:00
Philipp Wolfer
98b913a4c3
Mark 3.10 as supported in pip metadata
2022-04-02 13:33:56 +02:00
jesus2099
e08190490c
Update doc broken hyperlinks to cached versions
...
Update HTTP hyperlinks to HTTPS when possible
2022-01-27 07:57:36 +01:00
Philipp Wolfer
543709eab2
Various minor code cleanups
...
- Use generator comprehension where possible
- Prefer dict comprehension over dict([...])
- General code cleanup
2021-11-26 08:00:43 +01:00
Laurent Monin
14ce07756e
Update Copyright headers, with the help of fix-headers.py script
2021-11-10 21:38:54 +01:00
Philipp Wolfer
cb6973cf44
Use sets instead of lists in conditionals
2021-10-31 10:17:23 +01:00
Philipp Wolfer
5afd0f9855
Use requirements.txt for pip package install_requires
2021-05-19 12:28:43 +02:00
Philipp Wolfer
cf8325faff
Python 3.6 is now the minimum supported version
2021-03-16 16:41:50 +01:00
Philipp Wolfer
cb77bcce8a
PICARD-2088: Added fasteners to install_requires
2021-02-15 15:19:05 +01:00
Jason E. Hale
b084589229
Generate appdata for non-Linux platforms
2020-11-21 15:09:49 +01:00
Philipp Wolfer
a2ae1d7d04
Fix Linux installs missing desktop file and scalable icon
2020-11-14 21:40:27 +01:00
Philipp Wolfer
edfa273353
PICARD-1999: Use entry_point for bdist builds on Windows.
...
This makes sure a picard.exe gets generated for launching Picard.
2020-10-30 06:17:18 +01:00
Philipp Wolfer
2354f65d61
Extended setuptools metadata
...
Set python_requires, extend classifiers
2020-10-29 08:17:12 +01:00
Philipp Wolfer
94420d7715
Renamed setup.py command get_po_files to pull_translations
2020-09-06 20:30:50 +02:00
Philipp Wolfer
5f4e524318
Renamed installer/languages to installer/i18n
2020-09-06 20:30:49 +02:00
Philipp Wolfer
921ed8f5ac
PICARD-1929: Generate NSIS translation files during build
...
Do not include the .nsh files in the repository but generate them during build from the JSON files.
2020-09-06 20:30:49 +02:00
Philipp Wolfer
e336534dda
Updated requirements*.txt for dateutils
2020-05-13 11:06:36 +02:00
Philipp Wolfer
69e6c8c8c8
Ensure using UTF-8 encoding when running update_constants
2020-04-18 00:57:19 +02:00
Philipp Wolfer
fc87a788a9
fix-header.py: Update alias list
2020-02-24 15:44:26 +01:00
Philipp Wolfer
2ab612173a
Fixed Windows Store patch version
...
Next patch version needs to be larger than 6975 to avoid update issues, since the previous release had 2.3.6975.
2020-02-24 15:22:11 +01:00
Philipp Wolfer
1948f0c116
Fix build numbers for CI builds
...
Count the number of commits on the master branch since last release tag. This reduces the size and avoids issues for building the patch version for the Windows store app, since this is limited to a maximum of 65535.
2020-02-24 13:46:57 +00:00
Laurent Monin
6b5e852a60
Run fix-header on *.py
2020-02-24 10:25:09 +01:00
Philipp Wolfer
3bf22085c8
Extend appstream description
2020-01-14 23:36:45 +01:00
Philipp Wolfer
4d1963fdae
Revert "PICARD-1465: Changed Windows app display name"
...
This reverts commit 8408c655ca .
2020-01-14 21:57:41 +01:00
Philipp Wolfer
a5b85dfc47
PICARD-1465: For Windows store version combine patch and build number
...
The Windows store allows only a 3 part version number (build number part is reserved for internal store use), but still requires increasing versions on each publication.
In order to be able to upload the same release version multiple times, combine the patch number and build number into a single integer with "patch * 100000 + build".
E.g. version 2.3.1 with build number 6858 would get a store version of 2.3.106858
2020-01-14 21:20:19 +01:00
Philipp Wolfer
8408c655ca
PICARD-1465: Changed Windows app display name
2020-01-14 21:01:20 +01:00
Philipp Wolfer
bda5b5f7e4
Fixed syntax error
2020-01-14 20:29:14 +01:00
Philipp Wolfer
4059a0c3d0
PICARD-1465: Adjust appxmanifest for store requirements
2020-01-14 20:26:22 +01:00
Philipp Wolfer
ac171c1ed6
Re-add ability to mark alpha, beta and rc pre-release versions
...
For Picard versions support the version identifiers 'alpha', 'beta' and 'rc' again (in addition to 'final' and 'dev'). This used to be supported, but got lost at some point
Long version strings will be e.g. 2.3.0beta2. If the shortened string is generated the idenfitiers for alpha and beta will be shortened to 'a' and 'b' (e.g. 2.3.0b2). This confirms to pre-release versioning is defined in PEP 440.
2019-12-16 07:52:01 +01:00
Philipp Wolfer
2cce50b61e
PICARD-1683: Autocompletion for releasetype, releasestatus, releasecountry and media tags
2019-12-04 15:05:38 +01:00
Philipp Wolfer
880682033c
Introduce DISPLAY_NAME constant for use in metadata
...
This allows us to use the same value on multiple places where we need to specify a product display name for Picard.
2019-12-03 23:08:18 +01:00
Philipp Wolfer
ce41927f00
PICARD-1675: Disable autoupdate works for pyinstaller and local builds
...
Generate tagger.py from tagger.py.in
2019-11-21 19:16:18 +01:00
Philipp Wolfer
210d22d509
win builds: use appveyor build number for versioning
2019-11-15 17:45:02 +01:00
Philipp Wolfer
b247766614
PICARD-1669: Build Win 10 app package
2019-11-15 17:44:50 +01:00
Philipp Wolfer
7fddcc689c
Generate valid version number with setup.py patch_version
...
The extra version information must be a valid local version identifier (see https://www.python.org/dev/peps/pep-0440/#local-version-identifiers )
2019-11-12 21:16:33 +01:00
Philipp Wolfer
8877a0a2be
PEP8 fixes for setup.py
2019-11-12 15:28:36 +01:00
Philipp Wolfer
3a12744c4e
Always update en_* locales on get_po_files
2019-10-08 08:23:46 +02:00
Philipp Wolfer
0dfcedc975
PICARD-1602: Minimize files included in sdist
2019-09-18 11:54:00 +02:00
Philipp Wolfer
eac6ee16ca
Only include images required for install in sdist
2019-09-18 10:58:38 +02:00
Philipp Wolfer
7479399d7e
Format NEWS as markdown
2019-08-21 09:09:21 +02:00