Commit Graph

96 Commits

Author SHA1 Message Date
Laurent Monin
3442ba96e4 Use list to handle tx pull options 2014-03-06 23:09:41 +01:00
Laurent Monin
8000243d8b Add regen_pot_file command to setup.py
It is using Babel's Distutils Integration command `extract_messages`
instead of pybabel command line command.

See: http://babel.pocoo.org/docs/setup/
2014-03-06 23:09:41 +01:00
Laurent Monin
74c2fedcd3 Add helper _exit_with_error() which log and exit with return code 2014-03-06 23:09:41 +01:00
Laurent Monin
395cdeaa66 Warn if no country code was found, ie. when file format changed. 2014-03-06 23:09:40 +01:00
Laurent Monin
3468dddd4f Update countries.pot parser since format changed (iso_code -> iso.code)
It changed in https://bitbucket.org/metabrainz/musicbrainz-server/pull-request/426/mbs-6373-only-translate-and-extract-area/diff
2014-03-06 23:09:40 +01:00
Laurent Monin
5aacfe2880 Use a constant for common options of tx pull 2014-03-06 23:09:40 +01:00
Laurent Monin
bafe8fac13 Add command get_po_files to setup.py
It runs tx pull with needed options.
Translations with less than 5% translated are ignored.
2014-03-06 23:09:40 +01:00
Laurent Monin
401dabc66d Build, install and use all available locales
Drop the use of UI_LANGUAGES in setup.py which was restricting available translations,
even though translation was available from transifex.

Locales not in UI_LANGUAGES cannot be selected from Picard Advanced UI option,
but will be used if it is set to system default.
2014-03-06 23:09:40 +01:00
Laurent Monin
55c8468c80 Add a update_countries command to setup.py
It retrieves countries.pot from transifex and uses it to generated picard/countries.py
2014-03-06 23:09:40 +01:00
Frederik "Freso" S. Olesen
c24aac4aa8 Build picard-countries.po for enabled languages. 2014-03-06 23:09:40 +01:00
Laurent Monin
2be60fae33 Returns exit code 1 if at least one test failed.
It should make travis-ci to report test failures when they actually fail.
Ie. build 169.1 has test failures, but build was happily reported as Passed,
this patch should change this.
2014-01-12 11:08:06 +01:00
Laurent Monin
9747a46780 Remove extra imports 2014-01-09 15:54:03 +01:00
Laurent Monin
1342343659 Exclude socket module again, since it was only needed by urllib 2013-12-29 21:01:43 +01:00
Johannes Dewender
fa11a96b41 PICARD-544: include socket module in exe
This is needed by urllib, which is imported since
26f20228eb.
2013-12-29 19:48:04 +01:00
Lukas Lalinsky
8acd159528 Execute makensis.exe directly, so that bdist_nsis can be scripted 2013-12-03 15:45:22 +00:00
Laurent Monin
3cd397b9fa PEP8 conformance fixes. 2013-08-04 10:19:05 +02:00
Laurent Monin
8d40e6700d pep8 fixes 2013-07-02 23:01:13 +02:00
Laurent Monin
746fa31286 Use resources makeqrc and compile code, reducing code redundancy.
An empty __init__.py file was added so functions can be imported.
2013-06-28 12:39:53 +02:00
Michael Wiencek
dbe900b0b7 Remove py2app hacks that are no longer necessary (using 0.7.4) 2013-05-24 23:02:53 -07:00
Michael Wiencek
55b457fcfc Kill tab character
This is what I get for using an unconfigured gVim on Windows.
2013-05-24 22:43:03 -05:00
Michael Wiencek
ddc5dbebc9 Make the previous commit actually work... 2013-05-24 22:37:52 -05:00
Michael Wiencek
d9a7988052 Include Qt accessibility plugin in the windows build 2013-05-24 21:24:59 -05:00
Laurent Monin
c7c852caaa Set source outside the loop. 2013-01-21 16:27:47 +01:00
Laurent Monin
b8e1cc6dd7 Handle _translate() case for new pyuic versions
The code in setup.py replaces QtGui.QApplication.translate() with _(),
but it does not handle _translate(), this patch is fixing that.
2013-01-21 16:10:38 +01:00
Lukáš Lalinský
4eb945cd99 Convert picard/util/astrcmp.cpp from C++ to C 2012-09-30 15:32:15 +02:00
Lukáš Lalinský
9d131fdeff Remove PUID support 2012-09-30 11:50:39 +02:00
Michael Wiencek
24d20a8a41 Missing comma in setup.py 2012-09-16 19:15:05 -05:00
Wieland Hoffmann
1f6c9dfbb3 add json to py2app & py2exe includes 2012-09-11 11:34:50 +02:00
Michael Wiencek
d7af9a97e4 Use system language settings on OS X 2012-09-08 20:47:15 -07:00
Michael Wiencek
b61a12f594 Include locale dir with app bundle
Apparently, translations have never worked here...
2012-09-08 00:36:11 -05:00
Michael Wiencek
4fdcf67c60 Include fpcalc with Mac app bundles
This commit also fixes longstanding issues with py2app.
2012-05-29 02:24:11 -05:00
Lukáš Lalinský
488c1af139 Include fpcalc.exe in the Windows installer 2012-05-28 21:12:18 +02:00
Michael Wiencek
46ff35310c Fix "setup.py test" on OS X 2012-04-11 01:05:40 -05:00
Wieland Hoffmann
2b63a15e18 Turn around the libavcodec header detection logic
The current one is printing error messages with all recent ffmpeg
installations. Printing error messages only when the old location has to
be used is less confusing for many people.
2011-11-20 13:23:17 +01:00
Lukáš Lalinský
591bbd529d Upgrade FFmpeg for the Windows build, which makes it possible to use UTF8 for file names 2011-10-21 20:07:01 +02:00
Wieland Hoffmann
4da5fd62d9 Change all urls to mb.org/doc/MusicBrainz_Picard 2011-09-18 15:22:20 +02:00
Michael Wiencek
551b10f61f libdiscid fix for OS X 2011-07-17 16:59:29 -05:00
Lukáš Lalinský
7d966d741c These plugins no longer work 2011-05-29 20:25:29 +02:00
Michael Wiencek
4775a44fce Fix building on OS X, and allow non-MacPorts paths. 2011-05-22 09:08:46 -05:00
Lukáš Lalinský
1415bbcc99 New DLL files 2011-03-06 13:47:13 +01:00
Philipp Wolfer
82da1f40df Merged changes to include some plugins in the Windows package. 2009-10-21 19:59:37 +02:00
Carlin Mangar
9fe7b24af3 Compatibility with Python 2.5 retained 2009-10-20 23:16:43 +11:00
Carlin Mangar
5d44f0306b Allow limited bundling of plugins. After core-upgrade, merge this. Removes obsolete plugins. Merge installer-new AFTER. 2009-10-20 17:42:57 +11:00
Philipp Wolfer
f2de631189 Include msvcr90.dll and msvcp90.dll in the Windows distribution. 2009-10-08 21:30:20 +02:00
Philipp Wolfer
814b242b20 Included 24x24 icon in application and removed version from SVG icon file names. 2009-09-30 22:20:16 +02:00
Philipp Wolfer
09f8e92d60 Cherry picked icon changes by Carlin Mangar 2009-09-30 22:07:25 +02:00
Philipp Wolfer
9a22cadfca Install icons according to freedesktop.prg specification, added 128px icon 2009-09-23 08:23:10 +02:00
Philipp Wolfer
36ee05a166 Added large icons to ressources. 2009-09-22 20:15:35 +02:00
Philipp Wolfer
c9b096e741 Fixed missing N_ function when importing picard.const directly (e.g. by import picard.musicdns). 2009-07-27 19:07:40 +02:00
Philipp Wolfer
0e7c3577b3 * Properly include PyQt4's image plugins for the win32 installer
* Only include locales specified in const.py
* Some fixes for building the win32 installer
2009-06-09 00:34:33 +02:00