mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-24 02:09:56 +00:00
Include select module in mac build.
See [Picard-607](http://tickets.musicbrainz.org/browse/PICARD-607) for requirement.
This commit is contained in:
12
setup.py
12
setup.py
@@ -46,14 +46,14 @@ py2app_exclude_modules = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
py2exe_exclude_modules = [
|
py2exe_exclude_modules = [
|
||||||
'socket',
|
'socket', 'select',
|
||||||
]
|
]
|
||||||
|
|
||||||
exclude_modules = [
|
exclude_modules = [
|
||||||
'ssl', 'bz2',
|
'ssl', 'bz2',
|
||||||
'distutils', 'unittest',
|
'distutils', 'unittest',
|
||||||
'bdb', 'calendar', 'difflib', 'doctest', 'dummy_thread', 'gzip',
|
'bdb', 'calendar', 'difflib', 'doctest', 'dummy_thread', 'gzip',
|
||||||
'optparse', 'pdb', 'plistlib', 'pyexpat', 'quopri', 'repr', 'select',
|
'optparse', 'pdb', 'plistlib', 'pyexpat', 'quopri', 'repr',
|
||||||
'stringio', 'tarfile', 'uu', 'zipfile'
|
'stringio', 'tarfile', 'uu', 'zipfile'
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -178,7 +178,7 @@ class picard_install_locales(Command):
|
|||||||
('install_locales', 'install_dir'),
|
('install_locales', 'install_dir'),
|
||||||
('force', 'force'),
|
('force', 'force'),
|
||||||
('skip_build', 'skip_build'),
|
('skip_build', 'skip_build'),
|
||||||
)
|
)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if not self.skip_build:
|
if not self.skip_build:
|
||||||
@@ -346,7 +346,7 @@ class picard_build_ui(Command):
|
|||||||
else:
|
else:
|
||||||
for uifile, pyfile in ui_files():
|
for uifile, pyfile in ui_files():
|
||||||
if newer(uifile, pyfile):
|
if newer(uifile, pyfile):
|
||||||
compile_ui(uifile, pyfile)
|
compile_ui(uifile, pyfile)
|
||||||
|
|
||||||
from resources import compile, makeqrc
|
from resources import compile, makeqrc
|
||||||
makeqrc.main()
|
makeqrc.main()
|
||||||
@@ -452,8 +452,8 @@ except ImportError:
|
|||||||
def _get_option_name(obj):
|
def _get_option_name(obj):
|
||||||
"""Returns the name of the option for specified Command object"""
|
"""Returns the name of the option for specified Command object"""
|
||||||
for name, klass in obj.distribution.cmdclass.iteritems():
|
for name, klass in obj.distribution.cmdclass.iteritems():
|
||||||
if obj.__class__ == klass:
|
if obj.__class__ == klass:
|
||||||
return name
|
return name
|
||||||
raise Exception("No such command class")
|
raise Exception("No such command class")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user