~mvo/ubuntu-sso-client/strawman-lp711413

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Tarmac
  • Author(s): Manuel de la Pena, ralsina, Roberto Alsina
  • Date: 2011-04-14 17:01:56 UTC
  • mfrom: (705.2.2 forgotten_password)
  • Revision ID: tarmac-20110414170156-4k8s1708gzgj5oi2
Fixes lp:753281

Adds the required UI and backend to allow a windows user to reset his sso password from the Windows client. Tests have been added to ensure that the backend is correctly called.

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
    # besides the fact that the warnings wont be returned.
340
340
    _excludes = ['dbus', 'dbus.mainloop.glib', 'osx_keychain', 'gobject',
341
341
                'gnomekeyring']
342
 
    # Qt4 plugins, see http://stackoverflow.com/questions/2206406/
343
 
    def qt4_plugins(subdir, *dlls):
344
 
        """Add the required plugins so that we can package them."""
345
 
        import PyQt4
346
 
        pluginsdir = os.path.join(os.path.dirname(PyQt4.__file__), 'plugins')
347
 
        return (subdir, [os.path.join(pluginsdir, subdir, e) for e in dlls])
348
 
 
349
 
    _data_files.append(qt4_plugins('imageformats', 'qico4.dll',
350
 
                                       'qsvg4.dll'))
351
342
 
352
343
    _extra['options'] = {
353
344
           'py2exe' : {