~ubuntu-branches/ubuntu/utopic/apport/utopic

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-07-09 08:14:30 UTC
  • mfrom: (148.1.66)
  • Revision ID: package-import@ubuntu.com-20120709081430-jim1xdcbior31pph
Tags: 2.3-0ubuntu1
* New upstream release:
  - launchpad.py: Rework test suite to not use Launchpad's +storeblob
    facility at all any more. It almost never works on staging and is
    horribly slow. Fake the bug creation from a blob by manually creating
    the comment and attachments ourselves, and just assume that storeblob
    works on production.  Also change the structure to allow running every
    test individually.
  - crash-digger: Add --crash-db option to specify a non-default crash
    database name. (LP: #1003506)
  - apport-gtk: Add --hanging option to specify the process ID of a hanging
    application. If the user chooses to report this error, apport will
    terminate the pid with SIGABRT, otherwise it will send SIGKILL. The
    normal core pipe handler will be used to process the resulting report
    file, with a .hanging file in /var/crash to separate these from regular
    crashes.
  - apport: Also treat a binary as modified if the /proc/pid/exe symlink
    does not point to an existing file any more. (LP: #984944)
  - Fix PEP-8 violations picked up by latest pep8 checker.
  - ui.py: Do not ignore certain exceptions during upload which are not
    likely to be a network error.
  - launchpad.py: Recongize Launchpad projects for bug query and marking
    operations. (LP: #1003506)
  - packaging-apt-dpkg.py: Fix get_source_tree() to work with apt sandboxes.
  - apport-retrace: Turn StacktraceSource generation back on, now that it
    works with the current sandboxing.
  - launchpad.py: Ensure that upload chunk size does not underrun.
    (LP: #1013334)
  - apport_python_hook: Fix UnicodeEncodeError crash with Python 2 for
    exceptions with non-ASCII characters. (LP: #972436)
  - test_ui_kde.py: Fix occasional test failure in test_1_crash_details if
    the application ends before the "is progress bar visible" check is done.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
        subprocess.check_call(['javac'] + glob('com/ubuntu/apport/*.java'))
36
36
        subprocess.check_call(['jar', 'cvf', 'apport.jar'] +
37
 
                            glob('com/ubuntu/apport/*.class'))
 
37
                              glob('com/ubuntu/apport/*.class'))
38
38
        subprocess.check_call(['javac', 'crash.java'])
39
39
        subprocess.check_call(['jar', 'cvf', 'crash.jar', 'crash.class'])
40
40
 
108
108
 
109
109
from apport.ui import __version__
110
110
 
111
 
DistUtilsExtra.auto.setup(name='apport',
112
 
      author='Martin Pitt',
113
 
      author_email='martin.pitt@ubuntu.com',
114
 
      url='https://launchpad.net/apport',
115
 
      license='gpl',
116
 
      description='intercept, process, and report crashes and bug reports',
117
 
      version=__version__,
 
111
DistUtilsExtra.auto.setup(
 
112
    name='apport',
 
113
    author='Martin Pitt',
 
114
    author_email='martin.pitt@ubuntu.com',
 
115
    url='https://launchpad.net/apport',
 
116
    license='gpl',
 
117
    description='intercept, process, and report crashes and bug reports',
 
118
    version=__version__,
118
119
 
119
 
      data_files=[('share/mime/packages', glob('xdg-mime/*')),
120
 
                  # these are not supposed to be called directly, use apport-bug instead
121
 
                  ('share/apport', ['gtk/apport-gtk', 'kde/apport-kde']),
122
 
                  ('share/apport/testsuite/', glob('test/*')),
123
 
                  ('share/doc/apport/', glob('doc/*.txt')),
124
 
                  ('lib/pm-utils/sleep.d/', glob('pm-utils/sleep.d/*')),
125
 
                  ] + optional_data_files,
126
 
      cmdclass=cmdclass
 
120
    data_files=[('share/mime/packages', glob('xdg-mime/*')),
 
121
                # these are not supposed to be called directly, use apport-bug instead
 
122
                ('share/apport', ['gtk/apport-gtk', 'kde/apport-kde']),
 
123
                ('share/apport/testsuite/', glob('test/*')),
 
124
                ('share/doc/apport/', glob('doc/*.txt')),
 
125
                ('lib/pm-utils/sleep.d/', glob('pm-utils/sleep.d/*')),
 
126
                ] + optional_data_files,
 
127
    cmdclass=cmdclass
127
128
)