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
Laurent Monin
cd687f4853
Remove references to contrib/plugins in code
2018-03-09 19:29:55 +05:30
Laurent Monin
e2ed569233
Python3 doesn't need to import print_function
...
This is now a standard feature and no longer needs to be imported from __future__.
https://www.python.org/dev/peps/pep-3105/
2018-02-05 14:43:55 +01:00
Sambhav Kothari
176d0f958e
Revert pypi_dev related changes
2017-05-24 23:01:26 +05:30
Sophist
c2c37c8037
Remove unused variables
2017-05-17 15:07:12 +01:00
Sambhav Kothari
c19815e56d
Add setuptools metadata
2017-05-13 21:53:42 +05:30
Sambhav Kothari
9d7ef13f9a
Detect package name from version string
2017-05-13 15:37:39 +05:30
Sambhav Kothari
9434b9e93a
Refactor code
2017-05-12 23:16:23 +05:30
Sambhav Kothari
daa59aa36b
Change directory and config names to correspond to dev version
2017-05-12 21:36:54 +05:30
Laurent Monin
313efbf071
Merge pull request #721 from samj1912/pip
...
Update setup script to allow submitting pip packages
2017-05-11 08:20:50 +02:00
Sambhav Kothari
b1271c2f8e
Update setup script to allow submitting pip packages
...
Since all of Picard's requirements are available on pip,
this PR makes changes to the setup script to allow submitting a
distribution file to PyPi. A MANIFEST.in was included to add data dirs.
New packages can be submitted via python setup.py sdist upload -r pypi
2017-05-10 13:29:24 +05:30
Sambhav Kothari
6daf4e9b6e
Fix python version check
2017-05-10 13:23:31 +05:30
Wieland Hoffmann
399993fef2
patch_version: Use sys.platform as the default platform name
...
The names which sys.platform uses are not well-known across all users (darwin
for macOS for example), so this doesn't change the values used in the packaging
scripts.
2017-05-01 14:32:07 +02:00
Sambhav Kothari
33edfd33e6
Fix setup.py update_constants to not include unicode prefix
2017-04-30 19:12:18 +05:30
Laurent Monin
be5e172f52
Merge pull request #699 from samj1912/picard1065
...
PICARD-1065: Fix patch_version
2017-04-11 00:26:32 +02:00
Laurent Monin
2b0ef89653
Merge pull request #698 from samj1912/picard1066
...
PICARD-1066: Fix update_constants
2017-04-11 00:25:39 +02:00
Sambhav Kothari
3db758f4e0
PICARD-1065: Fix patch_version
2017-04-11 01:35:50 +05:30
Sambhav Kothari
dd8e521a6e
PICARD-1066: Fix update_constants
2017-04-11 00:52:17 +05:30
Sambhav Kothari
f851aea75c
PICARD-1064: Fix verbose tests
2017-04-11 00:25:42 +05:30
Lukáš Lalinský
355c0a2ab0
Add pure Python fallback for astrcmp
2017-04-08 15:29:12 +02:00
Sophist
6c79e28006
Make python3 default
2017-04-07 22:44:17 +01:00
Sambhav Kothari
9992ade39d
Fix py3 compatibility
...
sip.setapi is no longer needed with PyQt5 and py3.
Thus it was removed.
2017-04-07 16:45:35 +05:30
Sambhav Kothari
51d19ce545
Remove unnecessary module
2017-04-07 16:40:36 +05:30
Sambhav Kothari
428e168b87
Port Picard to Qt5
2017-04-03 16:45:42 +05:30
Sambhav Kothari
f228f4381f
Set sip api version
...
sip api version to be set in setup.py as it causes api conflicts in
OSX tests
2017-03-09 15:12:35 +05:30
Ville Skyttä
2070d9f008
Python 3.6 invalid escape sequence deprecation fixes
...
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
2017-02-28 15:29:23 +02:00
Lukáš Lalinský
ddc6b44d7e
Don't exclude zipfile, it's needed by pyobjc, which is needed to get access to NSURL
2017-02-19 19:15:17 +01:00