Commit Graph

179 Commits

Author SHA1 Message Date
Sambhav Kothari
3db758f4e0 PICARD-1065: Fix patch_version 2017-04-11 01:35:50 +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
Laurent Monin
01c4e89713 Remove reference to contrib/ in setup.py regen_pot_file 2017-02-14 12:51:47 +01:00
Sambhav Kothari
aa8d889ab2 Remove sockets from py2exe exclude list 2017-02-02 01:11:40 +05:30
Wieland Hoffmann
06e5e1624d Add the reason mimetypes is bundled in the Windows installer in a comment 2017-01-20 22:43:57 +01:00
Laurent Monin
f01625de1d Merge pull request #581 from samj1912/plugre
Change windows packager to download and install latest plugins
2017-01-20 10:40:08 +01:00
Sambhav Kothari
459700b212 Add mimetypes in py2exe module includes 2017-01-20 13:58:19 +05:30
Sambhav Kothari
ee62198084 Change windows packager to download and install latest plugins 2017-01-19 23:22:20 +05:30
Frederik “Freso” S. Olesen
c7963ef500 Bump required Python version to 2.7.
As agreed on in #metabrainz on Freenode IRC.
2017-01-14 18:38:30 +01:00
Sambhav Kothari
13916ab59d Remove contrib folder from regen pot 2017-01-10 16:53:08 +05:30
Sambhav Kothari
179d03a41e Remove contrib/plugins from repo 2017-01-07 01:32:43 +05:30
samj1912
a4d8e03bc0 Correct the indentation 2016-12-22 21:18:31 +05:30
Sambhav Kothari
43311e4a5e Add support for nosetests 2016-12-15 01:35:30 +05:30
Wieland Hoffmann
ed50ccc598 Merge pull request #481 from scop/svg-icon
Install SVG icon
2016-08-10 22:51:36 +02:00
Ville Skyttä
9ed5c65230 Link updates 2016-07-31 09:27:07 +03:00
Ville Skyttä
491f5a883b Install SVG icon
distutils does not seem to have an option to rename data_files on
install, so rename Picard_logo_no_text.svg -> picard.svg.

https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
2016-07-31 09:23:38 +03:00
Rahul Raturi
93e945fad3 Mention python2 in shebang
Some distributions have switched to Python3 as default. So, /usr/bin/env
python opens up wrong interpreter.
2016-04-03 05:54:15 +05:30
Laurent Monin
55b2207a27 import print_function 2015-08-25 11:15:15 +02:00
Johannes Dewender
bf0168357e start compat.py
This only includes what is needed in setup.py for now.
At least encoding/decoding functions and more renamed imports are needed
later on.
2014-10-28 16:50:35 +01:00
Johannes Dewender
00f6a1a03f fix setup.py for Python 3
This should make setup.py work for Python 2 and 3.
This fixes only the file itself, but *not* the whole installation
or even makes Picard run on Python 3 already.
2014-10-28 16:50:23 +01:00
Laurent Monin
71cbc8735b Auto-generate list of "packages"
When moving code around, creating new subdirs, one had to add/modify packages list
in setup.py.
So, basically, this patch is just generating an up-to-date list on runtime, including
all subdirs under picard/ and converting them to modules-like names (replace path separator by a dot).
2014-09-29 12:03:18 +02:00
Wieland Hoffmann
42350fc40a Add picard.const to setup.py 2014-09-29 11:55:04 +02:00
Laurent Monin
084ff991c8 Move all const-related files to new const directory 2014-09-26 14:43:03 +02:00
Wieland Hoffmann
094094b1dd Add coverartproviders to the package list 2014-06-01 10:40:25 +02:00
Sophist
dead1fd34e Include select module in mac build.
See [Picard-607](http://tickets.musicbrainz.org/browse/PICARD-607) for
requirement.
2014-05-28 10:29:42 +01:00
Laurent Monin
e69499e80e Merge pull request #335 from Sophist-UK/sophist_include_socket_for_py2app
Include socket module in py2app
2014-05-27 12:54:47 +02:00
Sophist
37bc2596ed Include socket module in py2app
See [Picard-607](http://tickets.musicbrainz.org/browse/PICARD-607) for
requirement.
2014-05-27 08:38:44 +01:00
Laurent Monin
9e764cb73e Indentation fixes. 2014-05-20 15:01:39 +02:00
Sophist
7e96801c93 Add ntpath to include list for py2app
in the hope (since I don;t have a Mac and cannot test this) that this
fixes the error reported in
(PICARD-607)[http://tickets.musicbrainz.org/browse/PICARD-607].
2014-05-19 18:50:22 +01:00
Sophist
63639d066c Restructure to import in correct order etc. 2014-05-05 21:59:30 +01:00
Sophist
4bb1079c4a Remove cgi from exclude_module list 2014-05-05 20:20:38 +01:00
Sophist
a0cc9a636b Eliminate unnecessary modules 2014-05-05 19:14:30 +01:00
Sophist
373302db24 Make py2app includes consistent with py2exe
and make indents standard.
2014-05-05 12:50:03 +01:00
Sophist
dea6599641 Revert unintended global change
made in commit 25505c9216
2014-05-04 22:04:33 +01:00
Sophist
dc3e78454b Fix setup.py plugin_files
Fixes error in commit 25505c9216
2014-05-04 22:02:31 +01:00
Laurent Monin
6e7cdc5737 Merge pull request #311 from zas/input_dirs_babel_0.9.6_workaround
Workaround: setup.py regen_pot_file didn't work with babel < 1.0
2014-05-03 16:02:29 +02:00
Laurent Monin
7c90c3cb6e Workaround: setup.py regen_pot_file didn't work with babel < 1.0
A babel bug prevents `input_dirs` to be parsed correctly with babel pre-1.0 versions.
Using regen_pot_file with babel 0.9.6 leads to an empty pot file (but header).
The fix appears in babel 1.0 Changelog:
- fix ‘input_dirs’ option for setuptools integration (ticket #232, initial patch by Étienne Bersac)

The workaround just splits `input_dirs` as it should when old babel versions are used.
2014-05-02 17:00:06 +02:00
Sophist
72b21c69c2 Add back deleted blank line 2014-05-02 08:30:04 +01:00
Sophist
63aa7b5086 Improve code and add top-level sort 2014-05-02 08:29:19 +01:00
Sophist
4165e356a4 Fix bug picked up by Travis 2014-05-02 08:06:07 +01:00
Sophist
25505c9216 Fix dist directory structure for plugins
Resolves PICARD-600
2014-05-02 07:56:35 +01:00
Laurent Monin
905778be0a Add all .py files from contrib/plugins to executable 2014-04-19 09:07:05 +02:00
Laurent Monin
b3e8ec9db0 Add build scripts fro win and osx, add patch_version command to setup.py 2014-04-15 13:26:40 +02:00