~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-10-15 03:39:49 UTC
  • mfrom: (5494.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20101015033949-lv2x1iwguy3c1fta
(mbp) Remove installation of apport configuration from setup.py (Max Bowsher)

Show diffs side-by-side

added added

removed removed

Lines of Context:
728
728
        # easy_install one
729
729
        DATA_FILES = [('man/man1', ['bzr.1'])]
730
730
 
731
 
    if sys.platform != 'win32':
732
 
        # see https://wiki.kubuntu.org/Apport/DeveloperHowTo
733
 
        #
734
 
        # checking the paths and hardcoding the check for root is a bit gross,
735
 
        # but I don't see a cleaner way to find out the locations in a way
736
 
        # that's going to align with the hardcoded paths in apport.
737
 
        if os.geteuid() == 0:
738
 
            DATA_FILES += [
739
 
                ('/usr/share/apport/package-hooks',
740
 
                    ['apport/source_bzr.py']),
741
 
                ('/etc/apport/crashdb.conf.d/',
742
 
                    ['apport/bzr-crashdb.conf']),]
743
 
 
744
731
    # std setup
745
732
    ARGS = {'scripts': ['bzr'],
746
733
            'data_files': DATA_FILES,