Commit Graph

246 Commits

Author SHA1 Message Date
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
Philipp Wolfer
c7e1648ad9 PICARD-1549: Removed dependency on PyQt5 from setup.py 2019-07-07 15:33:09 +02:00
Kurt Mosiejczuk
6a190a5c60 Making setuptools install change fit requested picard style by using
isort on setup.py
2019-07-06 12:40:39 -04:00
Kurt Mosiejczuk
3f5018f423 Switching to importing install from setuptools to support
--single-version-externally-managed so I can update the OpenBSD
picard port
2019-07-06 12:37:18 -04:00
Philipp Wolfer
1800e3cce5 Use PICARD_APP_ID constant instead of hardcoded strings 2019-04-09 11:18:18 +02:00
Philipp Wolfer
d99d79e441 Fixed invoking "python setup.py test --tests=..." 2019-03-29 11:59:25 +01:00
Philipp Wolfer
16506caf96 Fixed test run on Windows 2019-03-28 11:45:42 +01:00
Philipp Wolfer
8fdfcf1ffe Restructure format tests into separate files 2019-03-28 11:10:06 +01:00
Laurent Monin
6388ef20f5 Use IS_WIN, IS_MACOS, IS_LINUX 2019-03-05 21:53:32 +01:00
Philipp Wolfer
3d15f980bc PICARD-1474: Fix version information in Windows installer exe 2019-02-18 14:47:57 +01:00
Laurent Monin
eeba28b8ad Generate list of releases for appdata from NEWS.txt 2019-02-14 14:08:25 +01:00
Philipp Wolfer
1aa987a9cc PICARD-1447: Generate appdata release list on build
Generates the release list in appdata XML from NEWS.txt
2019-02-14 10:15:01 +01:00
Laurent Monin
b7203e4280 Docstrings should use triple double quotes (PEP257)
https://www.python.org/dev/peps/pep-0257/#id15

For consistency, always use """triple double quotes""" around docstrings.
2018-12-16 16:54:37 +01:00
Laurent Monin
5daa221547 Run isort -rc to unify imports 2018-11-30 12:50:26 +01:00
Philipp Wolfer
66d0552e59 PICARD-1398: Fix installing locales when running setup.py bdist_wheel 2018-11-27 14:06:46 +01:00
Philipp Wolfer
e9e8595113 Package appdata file only on Linux 2018-11-23 18:13:46 +01:00
Philipp Wolfer
0de126a3cd PICARD-1424: Build appdata file with translations 2018-11-23 09:24:07 +01:00
Philipp Wolfer
985c56cc70 Merge pull request #1024 from virusMac/PICARD-1325
PICARD-1325: Allow disabling new version update checking for packagers
2018-11-05 22:29:35 +01:00
virusMac
ff0df0a15c Allow disabling new version update checking 2018-11-05 20:13:26 +01:00
Kartik Ohri
4967709f7a Refactor Picard to org.musicbrainz.Picard
The refactoring is in line with the conventions followed by AppData xml.
2018-10-30 08:36:24 +01:00
abhi-ohri
7485375591 Update setup.py
Specify AppData xml file installation location and refactor Picard.desktop to meet conventions.
2018-10-30 08:34:40 +01:00
Philipp Wolfer
78ec12c20c Windows build: bdist_nsis is no longer used 2018-10-05 20:03:16 +02:00
Philipp Wolfer
d2dec6ca6d PICARD-1364: Write version information to picard.exe 2018-10-05 19:53:05 +02:00
Laurent Monin
16a3074be4 PEP8 fixes 2018-09-13 17:54:13 +02:00
Laurent Monin
5329e3592a Clean up and sort imports using isort
Add a config for isort (https://github.com/timothycrosley/isort)
Run isort -rc . and make import style consistent across files
Add a note about `isort` in CONTRIBUTING.md
2018-08-22 08:51:25 +02:00
Wieland Hoffmann
2e18529ce9 Fill long_description with the contents of README.md
See https://packaging.python.org/guides/making-a-pypi-friendly-readme/.
2018-07-22 10:27:23 +02:00
Wieland Hoffmann
38741ba1d2 Picard 2 supports Python 3 only 2018-07-22 10:18:33 +02:00
Wieland Hoffmann
28433f614b Classify Picard as stable software 2018-07-22 10:17:33 +02:00
Wieland Hoffmann
ec9192198a Properly indent trove classifiers 2018-07-22 10:13:35 +02:00
Sambhav Kothari
3fd9232b44 Repurpose old setup script to create a new installer from pyinstaller dist 2018-07-21 23:31:07 +05:30
Philipp Wolfer
466bec97d8 setup: picard.in does not need to get installed
Fixes picard.in getting installed directly in /usr
2018-06-15 07:41:42 +02:00
Sambhav Kothari
411d0a6688 Cleanup unused setup.py code after move to PyInstaller 2018-03-19 17:46:04 +05:30